Update to test against known working version rather than previous commit

This commit is contained in:
Shylie 2024-05-30 00:00:09 -04:00
parent 10a90a5f6a
commit 4b740e3edd

View File

@ -13,14 +13,14 @@ jobs:
path: curr
submodules: recursive
lfs: true
- name: Checkout previous
- name: Checkout previous known working
uses: actions/checkout@v4
with:
path: prev
fetch-depth: 2
submodules: recursive
lfs: true
- run: cd prev && git checkout HEAD^
- run: cd prev && git checkout 10a90a5f6a
- name: Build current
run: cmake -S curr -B curr/build -DGLERMINAL_TEST=ON && cmake --build curr/build
- name: Build previous
@ -29,7 +29,7 @@ jobs:
run: cd curr/build/tests && ls $PWD/resources && XDG_RUNTIME_DIR=$PWD xvfb-run -a ./test-basic
- name: Generate PNG file for previous
run: cd prev/build/tests && ls $PWD/resources && XDG_RUNTIME_DIR=$PWD xvfb-run -a ./test-basic
- name: Upload current PNG
- name: Upload PNG files
uses: actions/upload-artifact@v3
with:
name: basic