File tree Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,33 @@ name: Rust Tests
22
33on :
44 push :
5- branches : [ "main" ]
5+ branches : ["main"]
66 pull_request :
7- branches : [ "main" ]
7+ branches : ["main"]
88
99env :
1010 CARGO_TERM_COLOR : always
1111
1212jobs :
1313 build :
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ include :
18+ - platform : " macos-latest"
19+ args : " --target aarch64-apple-darwin"
20+ - platform : " macos-latest"
21+ args : " --target x86_64-apple-darwin"
22+ - platform : " ubuntu-22.04"
23+ args : " "
24+ - platform : " windows-latest"
25+ args : " "
1426
15- runs-on : ubuntu-latest
27+ runs-on : ${{ matrix.platform }}
1628
1729 steps :
18- - uses : actions/checkout@v3
19- - name : Build
20- run : cargo build --verbose
21- - name : Run tests
22- run : cargo test --verbose
30+ - uses : actions/checkout@v3
31+ - name : Build
32+ run : cargo build --verbose
33+ - name : Run tests
34+ run : cargo test --verbose
You can’t perform that action at this time.
0 commit comments