Skip to content

Commit f146043

Browse files
committed
CI: set Qt to use offscreen platform to avoid libEGL load issue
1 parent 6c828a2 commit f146043

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,14 @@ jobs:
3131
test:
3232
runs-on: ubuntu-22.04
3333
timeout-minutes: 20
34+
env:
35+
QT_QPA_PLATFORM: offscreen
3436
steps:
37+
# PyQt6.QtGui import requires libEGL.so.1 (even with QT_QPA_PLATFORM=offscreen)
38+
- name: Packages
39+
run: |
40+
sudo apt-get update
41+
sudo apt-get install -y libegl1 libgl1 libxkbcommon-x11-0
3542
- name: Checkout
3643
uses: actions/checkout@v3
3744
with:

0 commit comments

Comments
 (0)