Skip to content

Build and Test

Build and Test #3078

Workflow file for this run

name: Build and Test
on:
push:
schedule:
- cron: 0 0 * * *
jobs:
Ubuntu:
runs-on: ${{ matrix.system }}
timeout-minutes: 360
env:
CXX: ${{ matrix.compiler }}
strategy:
fail-fast: false
matrix:
compiler: [ g++, clang++ ]
configuration: [ Debug, Release ]
system: [ ubuntu-20.04, ubuntu-22.04 ]
steps:
- uses: actions/checkout@v3
- run: ./script/setup.sh --all
- run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
- run: cmake --build build --target develop
- run: cmake -B example/build -S example -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
- run: cmake --build example/build --target develop