Skip to content

Commit e5e89bc

Browse files
ci: fix build workflow for modern GitHub Actions runners
- ubuntu-20.04 removed from GitHub Actions (all jobs stuck in queued) → use ubuntu-22.04 - macOS-13 → macos-latest (includes Apple Silicon) - Python 3.9 (EOL) → 3.11 - actions/checkout v3 → v4, actions/setup-python v4 → v5 - Replace qt5-default (nonexistent on Ubuntu 22.04+) with Qt6 runtime deps (libxcb-cursor0, libfontconfig1, libegl1) - Add apt-get update before install Fixes #118
1 parent fccd5ca commit e5e89bc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
os: [ubuntu-20.04, windows-latest, macOS-13]
17-
python_version: [3.9]
16+
os: [ubuntu-22.04, windows-latest, macos-latest]
17+
python_version: ['3.11']
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
with:
2121
submodules: 'recursive'
2222
- name: Set up Python
23-
uses: actions/setup-python@v4
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python_version }}
2626
- name: Install APT dependencies
2727
if: runner.os == 'Linux'
2828
run: |
29-
# libxcb-cursor0 needed since Qt 6.5
30-
# https://stackoverflow.com/a/75941575/965332
31-
sudo apt-get install -y qt5-default libfontconfig1 libxcb-cursor0
29+
# xcb libraries needed for Qt6 on headless Linux
30+
sudo apt-get update
31+
sudo apt-get install -y libxcb-cursor0 libfontconfig1 libegl1
3232
- name: Install dependencies
3333
shell: bash
3434
run: |

0 commit comments

Comments
 (0)