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 : gmac
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " .github/workflows/gmac.yml"
7+ - " gmac/**"
8+ - " Cargo.*"
9+ push :
10+ branches : master
11+
12+
13+ defaults :
14+ run :
15+ working-directory : gmac
16+
17+ env :
18+ CARGO_INCREMENTAL : 0
19+ RUSTFLAGS : " -Dwarnings"
20+
21+ jobs :
22+ build :
23+ runs-on : ubuntu-latest
24+ strategy :
25+ matrix :
26+ rust :
27+ - 1.85.0 # MSRV
28+ - stable
29+ target :
30+ - thumbv7em-none-eabi
31+ - wasm32-unknown-unknown
32+ steps :
33+ - uses : actions/checkout@v6
34+ - uses : RustCrypto/actions/cargo-cache@master
35+ - uses : dtolnay/rust-toolchain@master
36+ with :
37+ toolchain : ${{ matrix.rust }}
38+ targets : ${{ matrix.target }}
39+ - run : cargo build --no-default-features --target ${{ matrix.target }}
40+
41+ minimal-versions :
42+ uses : RustCrypto/actions/.github/workflows/minimal-versions.yml@master
43+ with :
44+ working-directory : ${{ github.workflow }}
45+
46+ test :
47+ runs-on : ubuntu-latest
48+ strategy :
49+ matrix :
50+ rust :
51+ - 1.85.0 # MSRV
52+ - stable
53+ steps :
54+ - uses : actions/checkout@v6
55+ - uses : RustCrypto/actions/cargo-cache@master
56+ - uses : dtolnay/rust-toolchain@master
57+ with :
58+ toolchain : ${{ matrix.rust }}
59+ - uses : RustCrypto/actions/cargo-hack-install@master
60+ - run : cargo hack test --feature-powerset
61+ - run : cargo test --release --all-features
62+ docsrs :
63+ name : Check docs-rs build
64+ runs-on : ubuntu-latest
65+ steps :
66+ - uses : actions/checkout@v3
67+ - uses : dtolnay/rust-toolchain@nightly
68+ - run : cargo doc --all-features --no-deps
69+ env :
70+ RUSTDOCFLAGS : " --cfg docsrs -D warnings"
You can’t perform that action at this time.
0 commit comments