Skip to content

Up 20 21

Up 20 21 #56

Workflow file for this run

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/*
- run: chmod +x build/test/controller/*
- run: GTEST_COLOR=1 ctest -V --test-dir build/