mirror of
https://git.shylie.info/shylie/glerminal.git
synced 2024-11-12 21:10:04 +00:00
Upload to same artifact
This commit is contained in:
parent
fc4c150965
commit
96944fcaa9
@ -24,18 +24,15 @@ jobs:
|
||||
- name: Build previous
|
||||
run: cmake -S prev -B prev/build -DGLERMINAL_TEST=ON && cmake --build prev/build
|
||||
- name: Generate PNG file for current
|
||||
run: cd curr/build/tests && XDG_RUNTIME_DIR=$PWD xvfb-run -a ./test-basic
|
||||
run: cd curr/build/tests && XDG_RUNTIME_DIR=$PWD xvfb-run -a -s="-screen 0 1280x800x24" ./test-basic
|
||||
- name: Generate PNG file for previous
|
||||
run: cd prev/build/tests && XDG_RUNTIME_DIR=$PWD xvfb-run -a ./test-basic
|
||||
run: cd prev/build/tests && XDG_RUNTIME_DIR=$PWD xvfb-run -a -s="-screen 0 1280x800x24" ./test-basic
|
||||
- name: Upload current PNG
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: current-basic
|
||||
path: curr/build/tests/image.png
|
||||
- name: Upload previous PNG
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: previous-basic
|
||||
path: prev/build/tests/image.png
|
||||
name: basic
|
||||
path: |
|
||||
curr/build/tests/image.png
|
||||
prev/build/tests/image.png
|
||||
- name: Compare PNG files
|
||||
run: diff curr/build/tests/image.png prev/build/tests/image.png
|
||||
|
Loading…
Reference in New Issue
Block a user