Another attempt at fixing xvfb-run issue
All checks were successful
Make PNG / build-app (push) Successful in 22s

This commit is contained in:
Shylie 2024-05-28 12:44:00 -04:00
parent 8fb977a4a1
commit e5edcd05b2

View File

@ -23,11 +23,9 @@ jobs:
run: cmake -S curr -B curr/build -DGLERMINAL_TEST=ON && cmake --build curr/build
- name: Build previous
run: cmake -S prev -B prev/build -DGLERMINAL_TEST=ON && cmake --build prev/build
- name: Export XDG_RUNTIME_DIR
run: export XDG_RUNTIME_DIR=$PWD
- name: Generate PNG file for curr
run: cd curr/build/tests && xvfb-run -a ./test-basic
run: XDG_RUNTIME_DIR=$(PWD) cd curr/build/tests && xvfb-run -a ./test-basic
- name: Generate PNG file for prev
run: cd prev/build/tests && xvfb-run -a ./test-basic
run: XDG_RUNTIME_DIR=$(PWD) 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