From ad017cc41f79ac627aef9b2d79346ee296fece5e Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Tue, 14 Jan 2025 21:47:18 +0400 Subject: [PATCH] Try xcb libs 5 --- .github/workflows/test.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f738356..9630ce1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,9 +37,26 @@ jobs: - name: Run Unit Tests if: matrix.os == 'ubuntu-22.04' + id: e2e-tests + continue-on-error: true run: | + mkdir -p test/__diff__ + touch test/__diff__/.empty sudo apt-get update -qq sudo apt-get install -qq libgles2-mesa-dev libxcb-cursor0 libxcb-icccm4 libxcb-keysyms1 libxcb-shape0 libxcb-xkb1 libxkbcommon-x11-0 sudo apt-get install -qq libdbus-1-3 libxcb-image0 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 - # QT_QPA_PLATFORM=xcb xvfb-run --auto-servernum npm run test-ci - QT_DEBUG_PLUGINS=1 QT_QPA_PLATFORM=xcb xvfb-run --auto-servernum node test/debug.js + QT_QPA_PLATFORM=xcb xvfb-run --auto-servernum npm run test-ci + # QT_DEBUG_PLUGINS=1 QT_QPA_PLATFORM=xcb xvfb-run --auto-servernum node test/debug.js + + # - name: Pack Screenshots + # if: matrix.os == 'ubuntu-22.04' && steps.e2e-test.outcome == 'failure' + # run: cd test/__diff__ && tar -czf ../__diff__.gz * + + - uses: actions/upload-artifact@v4 + if: matrix.os == 'ubuntu-22.04' + with: + name: __diff__ + path: test/__diff__ + retention-days: 1 + compression-level: 0 + overwrite: true \ No newline at end of file