-
Notifications
You must be signed in to change notification settings - Fork 1
24 lines (24 loc) · 780 Bytes
/
build.yaml
File metadata and controls
24 lines (24 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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-22.04, ubuntu-24.04, macos-14 ]
steps:
- uses: actions/checkout@v3
- run: ./script/setup-${{ matrix.system }}.sh --all
- run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
- run: cmake --build build --target continuous-integration
- run: cmake -B example/build -S example -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
- run: cmake --build example/build --target continuous-integration