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