Try xcb libs #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |
run: | | |
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 |