File tree Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Original file line number Diff line number Diff line change 1
- name : OpenLibm CI
2
-
1
+ name : CI
3
2
on :
4
- push :
5
3
pull_request :
6
- branches : [ master ]
7
-
4
+ branches :
5
+ - master
6
+ push :
7
+ branches :
8
+ - master
9
+ tags : ' *'
8
10
jobs :
9
- build-nix :
11
+ test-unix :
10
12
runs-on : ${{ matrix.os }}
11
13
strategy :
12
14
fail-fast : false
@@ -23,14 +25,12 @@ jobs:
23
25
- os : macos-latest
24
26
arch : armv7
25
27
- os : macos-latest
26
- arch : x86
27
-
28
+ arch : x86
28
29
steps :
29
30
- uses : actions/checkout@v2
30
- - name : Build and run tests
31
- run : make && make test
32
-
33
- build-msys2 :
31
+ - run : make
32
+ - run : make test
33
+ windows :
34
34
runs-on : windows-latest
35
35
strategy :
36
36
fail-fast : false
@@ -40,13 +40,14 @@ jobs:
40
40
- { sys: mingw32, env: i686 }
41
41
- { sys: ucrt64, env: ucrt-x86_64 } # Experimental!
42
42
- { sys: clang64, env: clang-x86_64 } # Experimental!
43
-
44
43
steps :
45
44
- uses : actions/checkout@v2
46
- - uses : msys2/setup-msys2@v2
45
+ - name : Set up the desired MSYS2 environment
46
+ uses : msys2/setup-msys2@v2
47
47
with :
48
48
msystem : ${{matrix.sys}}
49
49
install : base-devel mingw-w64-${{matrix.env}}-toolchain
50
- - name : Build and run tests
50
+ - run : make
51
+ shell : msys2 {0}
52
+ - run : make test
51
53
shell : msys2 {0}
52
- run : make && make test
You can’t perform that action at this time.
0 commit comments