Skip to content

Commit eb9a7f3

Browse files
committed
Move strategy into jobs
1 parent a1ecb6b commit eb9a7f3

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/ci.yml

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

8-
strategy:
9-
fail-fast: false
10-
matrix:
11-
os: [macos-11, ubuntu-20.04]
12-
138
jobs:
149
build:
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
os: [macos-11, ubuntu-20.04]
14+
1515
runs-on: ${{ matrix.os }}
1616
env:
1717
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
@@ -22,6 +22,11 @@ jobs:
2222
run: make build
2323

2424
test:
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
os: [macos-11, ubuntu-20.04]
29+
2530
runs-on: ${{ matrix.os }}
2631
env:
2732
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
@@ -32,6 +37,11 @@ jobs:
3237
run: make test
3338

3439
install:
40+
strategy:
41+
fail-fast: false
42+
matrix:
43+
os: [macos-11, ubuntu-20.04]
44+
3545
runs-on: ${{ matrix.os }}
3646
env:
3747
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer

0 commit comments

Comments
 (0)