Skip to content

Commit

Permalink
CI: Add dummy display
Browse files Browse the repository at this point in the history
  • Loading branch information
shengwen-tw committed Jan 25, 2024
1 parent 6224fa8 commit e87c823
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,20 @@ jobs:
sudo apt update
sudo apt-get install build-essential device-tree-compiler
sudo apt-get install libsdl2-dev libsdl2-2.0-0 libsdl2-image-dev libsdl2-image-2.0-0
sudo apt install libpixman-1-dev
sudo apt-get install libpixman-1-dev
sudo apt-get install expect
- name: default build
run: make
shell: bash
- name: Setup xvfb for screen 0
run: Xvfb :1 -screen 0 1600x1200x24 &
- name: automated test
run: .ci/autorun.sh
env:
DISPLAY: :1
shell: bash
- name: Tear down xvfb
run: killall Xvfb

coding_style:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit e87c823

Please sign in to comment.