This commit is contained in:
parent
d285983dea
commit
374677349d
@ -17,11 +17,13 @@ jobs:
|
|||||||
path: prev
|
path: prev
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
- run: cd prev && git checkout HEAD^
|
- run: cd prev && git checkout HEAD^
|
||||||
- name: Configure CMake
|
- name: Configure CMake for curr
|
||||||
run: cmake -S curr -B curr/build
|
run: cmake -S curr -B curr/build
|
||||||
|
- name: Configure CMake for prev
|
||||||
run: cmake -S prev -B prev/build
|
run: cmake -S prev -B prev/build
|
||||||
- name: Generate PNG files
|
- name: Generate PNG file for curr
|
||||||
run: cd curr/build/tests && xvfb-run ./test-basic
|
run: cd curr/build/tests && xvfb-run ./test-basic
|
||||||
|
- name: Generate PNG file for prev
|
||||||
run: cd prev/build/tests && xvfb-run ./test-basic
|
run: cd prev/build/tests && xvfb-run ./test-basic
|
||||||
- name: Compare PNG files
|
- name: Compare PNG files
|
||||||
run: diff curr/build/tests/image.png prev/build/tests/image.png
|
run: diff curr/build/tests/image.png prev/build/tests/image.png
|
||||||
|
Loading…
Reference in New Issue
Block a user