-
Notifications
You must be signed in to change notification settings - Fork 40
40 lines (36 loc) · 1020 Bytes
/
c-cpp.yml
File metadata and controls
40 lines (36 loc) · 1020 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- name: build
run: cmake --build build
- name: test
run: ./build/test/unit_tests --wait-for-keypress never -d yes
macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- name: build
run: cmake --build build
- name: test
run: ./build/test/unit_tests --wait-for-keypress never -d yes exclude:large_files
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
- name: build
run: cmake --build build --config Debug
- name: test
run: ./build/test/Debug/unit_tests --wait-for-keypress never -d yes exclude:large_files