Skip to content

Up 14

Up 14 #36

name: build
on:
pull_request:
branches:
- 'release'
- 'dev'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: mkdir build
- run: cmake -Bbuild
- run: cmake --build build
- uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: build
test:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: build-artifacts
path: build
- run: chmod +x build/test/model/model_test
- run: GTEST_COLOR=1 ctest -V --test-dir build/