Don't use xvfb-run

This commit is contained in:
Shylie 2024-05-28 12:57:37 -04:00
parent 5997c95f0d
commit 1261ae71db

View File

@ -24,8 +24,8 @@ jobs:
- name: Build previous
run: cmake -S prev -B prev/build -DGLERMINAL_TEST=ON && cmake --build prev/build
- name: Generate PNG file for curr
run: XDG_RUNTIME_DIR=$PWD cd curr/build/tests && xvfb-run -a ./test-basic
run: DISPLAY=:0 ./test-basic
- name: Generate PNG file for prev
run: XDG_RUNTIME_DIR=$PWD cd prev/build/tests && xvfb-run -a ./test-basic
run: DISPLAY=:0 ./test-basic
- name: Compare PNG files
run: diff curr/build/tests/image.png prev/build/tests/image.png