Skip to content

Commit

Permalink
ccm: update dependencies (#432)
Browse files Browse the repository at this point in the history
- bump cipher and ctr dependencies to use it with the latest aes crate.
- bump hex-literal.
- change MSRV to 1.56.0.
- remove separate job "heapless" in github workflow.

Co-authored-by: Ruslan Piasetskyi <ruslan.piasetskyi@esrlabs.com>
  • Loading branch information
rpiasetskyi and Ruslan Piasetskyi authored Jun 27, 2022
1 parent d93b4e0 commit 6b980d9
Show file tree
Hide file tree
Showing 5 changed files with 260 additions and 67 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/ccm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- 1.56.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -44,15 +44,15 @@ jobs:
include:
# 32-bit Linux
- target: i686-unknown-linux-gnu
rust: 1.49.0 # MSRV
rust: 1.56.0 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- target: i686-unknown-linux-gnu
rust: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux
- target: x86_64-unknown-linux-gnu
rust: 1.49.0 # MSRV
rust: 1.56.0 # MSRV
- target: x86_64-unknown-linux-gnu
rust: stable
steps:
Expand All @@ -65,22 +65,5 @@ jobs:
profile: minimal
- run: ${{ matrix.deps }}
- run: cargo test --target ${{ matrix.target }} --release
- run: cargo test --target ${{ matrix.target }} --release --features stream,std
- run: cargo test --target ${{ matrix.target }} --release --all-features
- run: cargo build --target ${{ matrix.target }} --benches

# TODO(tarcieri): re-unify this with `test` when MSRV is 1.51+
heapless:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.51.0 # MSRV for `heapless`
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --all-features
Loading

0 comments on commit 6b980d9

Please sign in to comment.