File tree Expand file tree Collapse file tree 1 file changed +70
-0
lines changed Expand file tree Collapse file tree 1 file changed +70
-0
lines changed Original file line number Diff line number Diff line change 1+ name : kupyna
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " .github/workflows/kupyna.yml"
7+ - " kupyna/**"
8+ - " Cargo.*"
9+ push :
10+ branches : master
11+ paths :
12+ - " kupyna/**"
13+ - " Cargo.*"
14+
15+ defaults :
16+ run :
17+ working-directory : kupyna
18+
19+ env :
20+ CARGO_INCREMENTAL : 0
21+ RUSTFLAGS : " -Dwarnings"
22+
23+ jobs :
24+ set-msrv :
25+ uses : RustCrypto/actions/.github/workflows/set-msrv.yml@master
26+ with :
27+ msrv : 1.85.0
28+
29+ build :
30+ needs : set-msrv
31+ runs-on : ubuntu-latest
32+ strategy :
33+ matrix :
34+ rust :
35+ - ${{needs.set-msrv.outputs.msrv}}
36+ - stable
37+ target :
38+ - thumbv7em-none-eabi
39+ - wasm32-unknown-unknown
40+ steps :
41+ - uses : actions/checkout@v4
42+ - uses : RustCrypto/actions/cargo-cache@master
43+ - uses : dtolnay/rust-toolchain@master
44+ with :
45+ toolchain : ${{ matrix.rust }}
46+ targets : ${{ matrix.target }}
47+ - uses : RustCrypto/actions/cargo-hack-install@master
48+ - run : cargo hack build --target ${{ matrix.target }} --each-feature --exclude-features default,std
49+
50+ test :
51+ needs : set-msrv
52+ runs-on : ubuntu-latest
53+ strategy :
54+ matrix :
55+ rust :
56+ - ${{needs.set-msrv.outputs.msrv}}
57+ - stable
58+ steps :
59+ - uses : actions/checkout@v4
60+ - uses : RustCrypto/actions/cargo-cache@master
61+ - uses : dtolnay/rust-toolchain@master
62+ with :
63+ toolchain : ${{ matrix.rust }}
64+ - uses : RustCrypto/actions/cargo-hack-install@master
65+ - run : cargo hack test --feature-powerset
66+
67+ minimal-versions :
68+ uses : RustCrypto/actions/.github/workflows/minimal-versions.yml@master
69+ with :
70+ working-directory : ${{ github.workflow }}
You can’t perform that action at this time.
0 commit comments