WIP
This commit is contained in:
@@ -10,29 +10,40 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
|
- name: Install Rust
|
||||||
- run: . $HOME/.cargo/env && cargo build
|
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
|
||||||
|
- name: Build
|
||||||
|
run: . $HOME/.cargo/env && cargo build
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
|
- name: Install Rust
|
||||||
- run: . $HOME/.cargo/env && cargo test
|
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
|
||||||
- run: . $HOME/.cargo/env && cargo test --features webpki
|
- name: Test (default)
|
||||||
- run: . $HOME/.cargo/env && cargo test --features native-pki
|
run: . $HOME/.cargo/env && cargo test
|
||||||
- run: . $HOME/.cargo/env && cargo test --features native-pki,rsa
|
- name: Test (webpki)
|
||||||
|
run: . $HOME/.cargo/env && cargo test --features webpki
|
||||||
|
- name: Test (native-pki)
|
||||||
|
run: . $HOME/.cargo/env && cargo test --features native-pki
|
||||||
|
- name: Test (native-pki + rsa)
|
||||||
|
run: . $HOME/.cargo/env && cargo test --features native-pki,rsa
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --component clippy
|
- name: Install Rust
|
||||||
- run: . $HOME/.cargo/env && cargo clippy -- -D warnings
|
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --component clippy
|
||||||
|
- name: Clippy
|
||||||
|
run: . $HOME/.cargo/env && cargo clippy -- -D warnings
|
||||||
|
|
||||||
no-std:
|
no-std:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --target thumbv7em-none-eabi
|
- name: Install Rust
|
||||||
- run: . $HOME/.cargo/env && cargo build --target thumbv7em-none-eabi --no-default-features
|
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --target thumbv7em-none-eabi
|
||||||
|
- name: Build (no_std)
|
||||||
|
run: . $HOME/.cargo/env && cargo build --target thumbv7em-none-eabi --no-default-features
|
||||||
|
|||||||
Reference in New Issue
Block a user