2019-12-09 14:12:58 -08:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
2023-02-28 10:06:08 -08:00
|
|
|
test_msrv:
|
2023-10-03 13:12:01 -07:00
|
|
|
name: build on MSRV
|
2023-02-28 10:06:08 -08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-06-19 12:55:10 -07:00
|
|
|
- uses: actions/checkout@v4.1.7
|
2023-10-03 13:12:01 -07:00
|
|
|
- uses: dtolnay/rust-toolchain@1.65.0
|
|
|
|
# Don't use --all-features because `frost` has a higher MSRV and it's non-default.
|
|
|
|
# Also don't run tests because some dev-dependencies have higher MSRVs.
|
|
|
|
- run: cargo build
|
2020-01-17 13:54:07 -08:00
|
|
|
test_nightly:
|
|
|
|
name: test on nightly
|
2019-12-09 14:12:58 -08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-06-19 12:55:10 -07:00
|
|
|
- uses: actions/checkout@v4.1.7
|
2023-10-03 13:12:01 -07:00
|
|
|
- uses: dtolnay/rust-toolchain@nightly
|
|
|
|
# Update dependencies since we commit the lockfile
|
|
|
|
- run: cargo update --verbose
|
|
|
|
- run: cargo test --all-features
|
2022-05-06 07:58:34 -07:00
|
|
|
build_no_std:
|
|
|
|
name: build with no_std
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-06-19 12:55:10 -07:00
|
|
|
- uses: actions/checkout@v4.1.7
|
2023-10-03 13:12:01 -07:00
|
|
|
- uses: dtolnay/rust-toolchain@master
|
2022-05-06 07:58:34 -07:00
|
|
|
with:
|
|
|
|
toolchain: stable
|
2023-10-03 13:12:01 -07:00
|
|
|
targets: thumbv6m-none-eabi
|
|
|
|
- run: cargo build --no-default-features --target thumbv6m-none-eabi
|