Update to test against known working version rather than previous commit
All checks were successful
Make PNG / build-app (push) Successful in 28s
All checks were successful
Make PNG / build-app (push) Successful in 28s
This commit is contained in:
parent
10a90a5f6a
commit
4b740e3edd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user