-
Notifications
You must be signed in to change notification settings - Fork 23
25 lines (25 loc) · 1.1 KB
/
no_std_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: no_std
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
BuildAndTest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
targets: thumbv6m-none-eabi
components: clippy
- name: Clippy
run: cargo +nightly clippy --no-default-features -p mls-rs -- -D warnings
- name: Test
run: cargo +nightly test --no-default-features --features test_util --verbose -p mls-rs --lib --test '*'
- name: Test Full RFC Compliance
run: cargo +nightly test --no-default-features --features rfc_compliant,test_util --verbose -p mls-rs
- name: Build MLS Embedded
run: cargo +nightly build --package mls-rs --lib --no-default-features --target thumbv6m-none-eabi
- name: Build MLS Embedded Full RFC Compliance
run: cargo +nightly build --package mls-rs --lib --no-default-features --features rfc_compliant --target thumbv6m-none-eabi
- name: Build rust crypto embedded
run: cargo +nightly build --package mls-rs-crypto-rustcrypto --no-default-features --target thumbv6m-none-eabi