File tree 1 file changed +29
-9
lines changed
1 file changed +29
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
3
- on : [push]
3
+ on : [push, pull_request ]
4
4
5
5
jobs :
6
- build :
7
-
6
+ Linux :
8
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
9
27
28
+ Windows :
29
+ runs-on : windows-latest
10
30
steps :
11
31
- uses : actions/checkout@v1
12
- - name : Run a one-line script
13
- run : echo Hello, world!
14
- - name : Run a multi-line script
15
- run : |
16
- echo Add other actions to build,
17
- echo test, and deploy your project.
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
You can’t perform that action at this time.
0 commit comments