Skip to content

Commit 7dc7bd5

Browse files
committed
Matrix for each job.
1 parent a6c59ae commit 7dc7bd5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ name: Build master
22

33
on: [push, pull_request]
44

5-
jobs:
6-
strategy:
7-
matrix:
8-
os: [ubuntu-latest, windows-latest, macOS-latest]
5+
jobs:
6+
97
build:
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, windows-latest, macOS-latest]
1011
runs-on: ${{ matrix.os }}
1112

1213
steps:
@@ -19,6 +20,9 @@ jobs:
1920
run: dotnet build -c Release
2021

2122
test_cpu:
23+
strategy:
24+
matrix:
25+
os: [ubuntu-latest, windows-latest, macOS-latest]
2226
needs: build
2327
runs-on: ${{ matrix.os }}
2428
steps:

0 commit comments

Comments
 (0)