build(deps): bump clap from 4.4.6 to 4.4.7 #364
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
# Builds for no_std platforms | |
no_std: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
target: | |
- thumbv7em-none-eabi | |
- wasm32-unknown-unknown | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: RustCrypto/actions/cargo-cache@master | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.rust }} | |
targets: ${{ matrix.target }} | |
- run: cargo build --target ${{ matrix.target }} --no-default-features --features portable | |
# x86/x86_64 tests | |
x86: | |
strategy: | |
matrix: | |
include: | |
# 32-bit Linux/x86 | |
- target: i686-unknown-linux-gnu | |
rust: stable | |
deps: sudo apt update && sudo apt install gcc-multilib | |
# 64-bit Linux/x86_64 | |
- target: x86_64-unknown-linux-gnu | |
rust: stable | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: RustCrypto/actions/cargo-cache@master | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.rust }} | |
targets: ${{ matrix.target }} | |
- uses: RustCrypto/actions/cargo-hack-install@master | |
- run: ${{ matrix.deps }} | |
- run: cargo hack test --feature-powerset | |
# aarch64 tests | |
aarch64: | |
strategy: | |
matrix: | |
rust: | |
- stable | |
target: | |
- aarch64-unknown-linux-gnu | |
features: | |
- default | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: RustCrypto/actions/cargo-cache@master | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
target: ${{ matrix.target }} | |
override: true | |
- uses: RustCrypto/actions/cross-install@master | |
- run: cross test | |
--target ${{ matrix.target }} | |
--no-default-features | |
--features ${{ matrix.features }} | |
shell: bash |