Skip to content

Commit 2a47fa5

Browse files
authored
CI: A variety of miscellaneous tweaks (#244)
1 parent d0ef09a commit 2a47fa5

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
name: OpenLibm CI
2-
1+
name: CI
32
on:
4-
push:
53
pull_request:
6-
branches: [ master ]
7-
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
9+
tags: '*'
810
jobs:
9-
build-nix:
11+
test-unix:
1012
runs-on: ${{ matrix.os }}
1113
strategy:
1214
fail-fast: false
@@ -23,14 +25,12 @@ jobs:
2325
- os: macos-latest
2426
arch: armv7
2527
- os: macos-latest
26-
arch: x86
27-
28+
arch: x86
2829
steps:
2930
- 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:
3434
runs-on: windows-latest
3535
strategy:
3636
fail-fast: false
@@ -40,13 +40,14 @@ jobs:
4040
- { sys: mingw32, env: i686 }
4141
- { sys: ucrt64, env: ucrt-x86_64 } # Experimental!
4242
- { sys: clang64, env: clang-x86_64 } # Experimental!
43-
4443
steps:
4544
- uses: actions/checkout@v2
46-
- uses: msys2/setup-msys2@v2
45+
- name: Set up the desired MSYS2 environment
46+
uses: msys2/setup-msys2@v2
4747
with:
4848
msystem: ${{matrix.sys}}
4949
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
5153
shell: msys2 {0}
52-
run: make && make test

0 commit comments

Comments
 (0)