Skip to content

Commit 2941799

Browse files
committed
Add initial GitHub CI
1 parent bee64c5 commit 2941799

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/ccpp.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
Linux:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: cmake
11+
run: cmake .
12+
- name: make
13+
run: make
14+
- name: test
15+
run: ctest --output-on-failure
16+
17+
macOS:
18+
runs-on: macos-latest
19+
steps:
20+
- uses: actions/checkout@v1
21+
- name: cmake
22+
run: cmake .
23+
- name: make
24+
run: make
25+
- name: test
26+
run: ctest --output-on-failure
27+
28+
Windows:
29+
runs-on: windows-latest
30+
steps:
31+
- uses: actions/checkout@v1
32+
- name: cmake
33+
run: cmake -G "Visual Studio 16 2019" .
34+
- name: make
35+
run: cmake --build .
36+
- name: test
37+
run: ctest --output-on-failure

0 commit comments

Comments
 (0)