Skip to content

Try xcb libs 5

Try xcb libs 5 #23

Workflow file for this run

name: Test
defaults:
run:
shell: bash
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
Test:
strategy:
matrix:
os: [ubuntu-22.04, windows-2022, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Fetch Repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22.9.0
cache: 'npm'
- name: Install Modules
run: npm ci
- 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
# - 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