Add UnitTest workflow
This commit is contained in:
parent
1e1456f9a8
commit
7b3c982d8c
1 changed files with 15 additions and 0 deletions
15
.forgejo/workflows/unittest.yml
Normal file
15
.forgejo/workflows/unittest.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
name: Run UnitTest
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-and-run-UnitTest:
|
||||||
|
runs-on: any_archLinux
|
||||||
|
steps:
|
||||||
|
- run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/3d_collision_helpers.git 3dchelpers
|
||||||
|
- run: cd 3dchelpers && git checkout $GITHUB_REF_NAME
|
||||||
|
- run: cd 3dchelpers && cmake -S . -B buildDebug
|
||||||
|
- run: make -C 3dchelpers/buildDebug
|
||||||
|
- run: ./3dchelpers/buildDebug/UnitTest
|
Loading…
Reference in a new issue