-
Notifications
You must be signed in to change notification settings - Fork 9
47 lines (33 loc) · 974 Bytes
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Nightly
on:
schedule:
- cron: '0 4 * * *'
jobs:
core:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
config: [Release, Debug]
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DSTLBFGS_UNIT_TESTS=ON
- name: CMake Build
run: cmake --build build --parallel
- name: CTest
run: ctest --test-dir build -V
windows-msvc:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B build -DSTLBFGS_UNIT_TESTS=ON
- name: Release build
run: cmake --build build --parallel --config Release
- name: Release CTest
run: ctest --test-dir build -C Release -V
- name: Debug build
run: cmake --build build --parallel --config Debug
- name: Debug CTest
run: ctest --test-dir build -C Debug -V