Move back to xvfb-run

This commit is contained in:
Shylie 2024-05-28 13:04:38 -04:00
parent 09d5acc983
commit 3d635b67f5

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: DISPLAY=:0 cd curr/build/tests && ./test-basic
run: cd curr/build/tests && xvfb-run -a ./test-basic
- name: Generate PNG file for prev
run: DISPLAY=:0 cd prev/build/tests && ./test-basic
run: cd prev/build/tests && xvfb-run -a ./test-basic
- name: Compare PNG files
run: diff curr/build/tests/image.png prev/build/tests/image.png