Skip to content

Commit ed1f013

Browse files
committed
Add GitHub Action setting
Fix
1 parent 72929d5 commit ed1f013

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

.github/workflows/rust.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request: {}
8+
9+
jobs:
10+
windows:
11+
runs-on: windows-2019
12+
strategy:
13+
matrix:
14+
target: ["intel-mkl-src", "intel-mkl-sys", "intel-mkl-tool"]
15+
steps:
16+
- uses: actions/checkout@v1
17+
- uses: actions-rs/cargo@v1
18+
with:
19+
command: test
20+
args: --manifest-path=${{ matrix.target }}/Cargo.toml
21+
22+
macos:
23+
runs-on: macos-10.15
24+
strategy:
25+
matrix:
26+
target: ["intel-mkl-src", "intel-mkl-sys", "intel-mkl-tool"]
27+
steps:
28+
- uses: actions/checkout@v1
29+
- uses: actions-rs/cargo@v1
30+
with:
31+
command: test
32+
args: --manifest-path=${{ matrix.target }}/Cargo.toml
33+
34+
linux:
35+
runs-on: ubuntu-18.04
36+
strategy:
37+
matrix:
38+
target: ["intel-mkl-src", "intel-mkl-sys", "intel-mkl-tool"]
39+
steps:
40+
- uses: actions/checkout@v1
41+
- uses: actions-rs/cargo@v1
42+
with:
43+
command: test
44+
args: --manifest-path=${{ matrix.target }}/Cargo.toml
45+
46+
check-format:
47+
runs-on: ubuntu-18.04
48+
steps:
49+
- uses: actions/checkout@v1
50+
- uses: actions-rs/cargo@v1
51+
with:
52+
command: fmt
53+
args: -- --check
54+

0 commit comments

Comments
 (0)