Skip to content

Commit

Permalink
Try xcb libs 5
Browse files Browse the repository at this point in the history
  • Loading branch information
raub committed Jan 14, 2025
1 parent 8625c50 commit ad017cc
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ad017cc

Please sign in to comment.