Skip to content

Commit c2b1d76

Browse files
committed
CI: Add dummy display
1 parent fc7500f commit c2b1d76

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: .github/workflows/main.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,20 @@ jobs:
1212
sudo apt update
1313
sudo apt-get install build-essential device-tree-compiler
1414
sudo apt-get install libsdl2-dev libsdl2-2.0-0 libsdl2-image-dev libsdl2-image-2.0-0
15-
sudo apt install libpixman-1-dev
15+
sudo apt-get install libpixman-1-dev
1616
sudo apt-get install expect
1717
- name: default build
1818
run: make
1919
shell: bash
20+
- name: Setup xvfb for screen 0
21+
run: Xvfb :1 -screen 0 1600x1200x24 &
2022
- name: automated test
2123
run: .ci/autorun.sh
2224
shell: bash
25+
env:
26+
DISPLAY: :1
27+
- name: Tear down xvfb
28+
run: killall Xvfb
2329

2430
coding_style:
2531
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)