Skip to content

Commit a1ecb6b

Browse files
committed
Move strategy to top level
1 parent ed7e299 commit a1ecb6b

File tree

1 file changed

+36
-35
lines changed

1 file changed

+36
-35
lines changed

.github/workflows/ci.yml

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,40 @@ on:
55
branches: [ '*' ]
66
pull_request: [ main ]
77

8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [macos-11, ubuntu-20.04]
12+
813
jobs:
9-
strategy:
10-
matrix:
11-
os: [macos-11, ubuntu-20.04]
12-
13-
build:
14-
runs-on: ${{ matrix.os }}
15-
env:
16-
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
17-
18-
steps:
19-
- uses: actions/checkout@v2
20-
- name: Release Build
21-
run: make build
22-
23-
test:
24-
runs-on: ${{ matrix.os }}
25-
env:
26-
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
27-
28-
steps:
29-
- uses: actions/checkout@v2
30-
- name: Test
31-
run: make test
32-
33-
install:
34-
runs-on: ${{ matrix.os }}
35-
env:
36-
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
37-
38-
steps:
39-
- uses: actions/checkout@v2
40-
- name: Install
41-
run: make install
42-
- name: Uninstall
43-
run: make uninstall
14+
build:
15+
runs-on: ${{ matrix.os }}
16+
env:
17+
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Release Build
22+
run: make build
23+
24+
test:
25+
runs-on: ${{ matrix.os }}
26+
env:
27+
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
28+
29+
steps:
30+
- uses: actions/checkout@v2
31+
- name: Test
32+
run: make test
33+
34+
install:
35+
runs-on: ${{ matrix.os }}
36+
env:
37+
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
38+
39+
steps:
40+
- uses: actions/checkout@v2
41+
- name: Install
42+
run: make install
43+
- name: Uninstall
44+
run: make uninstall

0 commit comments

Comments
 (0)