Add build call

This commit is contained in:
Shylie 2024-05-28 11:17:43 -04:00
parent c1e9b1d6bd
commit 43b77a4ece

View File

@ -7,22 +7,22 @@ jobs:
build-app:
runs-on: linux_amd64
steps:
- name: Checkout curr
- name: Checkout current
uses: actions/checkout@v4
with:
path: curr
submodules: recursive
- name: Checkout prev
- name: Checkout previous
uses: actions/checkout@v4
with:
path: prev
fetch-depth: 2
submodules: recursive
- run: cd prev && git checkout HEAD^
- name: Configure CMake for curr
run: cmake -S curr -B curr/build
- name: Configure CMake for prev
run: cmake -S prev -B prev/build
- name: Build current
run: cmake -S curr -B curr/build && cmake --build curr/build
- name: Build previous
run: cmake -S prev -B prev/build && cmake --build prev/build
- name: Generate PNG file for curr
run: cd curr/build/tests && xvfb-run ./test-basic
- name: Generate PNG file for prev