Skip to content

Commit 3800418

Browse files
authored
Update ci.yml
1 parent 9ce3089 commit 3800418

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/ci.yml

+16-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,24 @@ on: [push]
44

55
jobs:
66
build:
7-
runs-on: ${{ matrix.operating-system }}
7+
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
operating-system: [ubuntu-latest, windows-latest]
10+
os: [ubuntu-latest, windows-latest, macOS-latest]
11+
rust: [stable, nightly]
12+
include:
13+
- os: macOS-latest
14+
rust: 'stable'
15+
components: 'rustfmt, clippy'
16+
targets: 'x86_64-apple-darwin'
17+
- os: windows-latest
18+
rust: 'stable'
19+
components: 'rustfmt, clippy'
20+
targets: 'x86_64-pc-windows-msvc'
21+
- os: ubuntu-latest
22+
rust: 'stable'
23+
components: 'rustfmt, clippy'
24+
targets: 'x86_64-unknown-linux-musl'
1125

1226
steps:
1327
- uses: actions/checkout@v1

0 commit comments

Comments
 (0)