reddsa/.github/workflows/main.yml

34 lines
959 B
YAML
Raw Normal View History

name: CI
on: [push]
jobs:
2023-02-28 10:06:08 -08:00
test_msrv:
name: build on MSRV
2023-02-28 10:06:08 -08:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- 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
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- 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:
- uses: actions/checkout@v4.1.7
- uses: dtolnay/rust-toolchain@master
2022-05-06 07:58:34 -07:00
with:
toolchain: stable
targets: thumbv6m-none-eabi
- run: cargo build --no-default-features --target thumbv6m-none-eabi