Skip to content

Commit

Permalink
fix: prepare display for test-for-ubuntu workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SMASTER4 committed Aug 17, 2024
1 parent c561da4 commit e598153
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test-for-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ jobs:
- name: Install dependencies
run: >
sudo apt-get update &&
sudo apt-get install -y libgtk-4-dev
sudo apt-get install -y libgtk-4-dev xvfb
- name: Start Xvfb
run: Xvfb :99 -screen 0 1024x768x24 &

- name: Set display
run: echo "DISPLAY=:99" >> $GITHUB_ENV

- name: Configure CMake
run: cmake -DCMAKE_C_COMPILER=${{matrix.c_compiler}} -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand Down

0 comments on commit e598153

Please sign in to comment.