File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66jobs :
77 build :
8- name : Build and Test
9- runs-on : ubuntu-22.04
8+ name : Build
9+ runs-on : ${{ matrix.os }}
10+ env :
11+ RUSTC_WRAPPER : sccache
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ os : [ubuntu-22.04, windows-2022]
1016 steps :
1117 - uses : actions/checkout@v5
1218
1319 - name : Setup Rust toolchain
14- uses : https://codeberg.org/wackbyte/ rust-toolchain@trunk
20+ uses : actions-rust-lang/setup- rust-toolchain@v1
1521 with :
16- toolchain : stable
22+ rustflags : " "
1723
18- - name : Compile (debug)
19- run : cargo build
24+ - name : Setup sccache
25+ uses : mozilla-actions/sccache-action@v0.0.9
2026
21- - name : Test (debug)
22- run : cargo test
23-
24- - name : Compile (release)
27+ - name : Compile
2528 run : cargo build --release
2629
27- - name : Test (release)
30+ - name : Test
2831 run : cargo test --release
32+
33+ - name : Archive artefacts
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : socute-${{ matrix.os }}
37+ path : target/release/socute*
You can’t perform that action at this time.
0 commit comments