Add forgejo action/workflow to run UnitTests
All checks were successful
Run UnitTests / build-and-run-tests (push) Successful in 24s
All checks were successful
Run UnitTests / build-and-run-tests (push) Successful in 24s
This commit is contained in:
parent
747e4bb370
commit
79508e5527
1 changed files with 15 additions and 0 deletions
15
.forgejo/workflows/unittests.yml
Normal file
15
.forgejo/workflows/unittests.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
name: Run UnitTests
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-and-run-tests:
|
||||||
|
runs-on: any_archLinux
|
||||||
|
steps:
|
||||||
|
- run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/Triangles.git Tri
|
||||||
|
- run: cd Tri && git checkout $GITHUB_REF_NAME
|
||||||
|
- run: cd Tri && git submodule update --init --recursive
|
||||||
|
- run: cd Tri && cmake -S . -B buildDebug -DCMAKE_BUILD_TYPE=Debug
|
||||||
|
- run: make -C Tri/buildDebug UnitTest_Triangles && ./Tri/buildDebug/UnitTest_Triangles
|
Loading…
Reference in a new issue