File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Cargo Build & Test
1+ name : tests
22
33on :
44 push :
88 CARGO_TERM_COLOR : always
99
1010jobs :
11- build_and_test :
11+ test :
1212 runs-on : ubuntu-latest
1313 strategy :
1414 matrix :
1515 toolchain :
16+ - 1.74
1617 - stable
17- - beta
1818 - nightly
1919 steps :
20- - uses : actions/checkout@v4
20+ - uses : actions/checkout@v5
21+
2122 - name : Setup toolchain
2223 run : rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
24+
2325 - name : Setup sccache-cache
2426 uses : mozilla-actions/sccache-action@v0.0.9
25- - name : Build project
26- env :
27- SCCACHE_GHA_ENABLED : " true"
28- RUSTC_WRAPPER : " sccache"
29- run : |
30- cargo build --verbose
31- cargo test --verbose
32- - name : Test dlpack interface
27+
28+ - name : Run tests
3329 env :
3430 SCCACHE_GHA_ENABLED : " true"
3531 RUSTC_WRAPPER : " sccache"
You can’t perform that action at this time.
0 commit comments