Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
cbiffle committed Mar 2, 2024
1 parent baa4843 commit d4f0011
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ jobs:
- nightly
- beta
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: rm rust-toolchain.toml
- run: rustup update ${{ matrix.toolchain}} && rustup default ${{ matrix.toolchain }} && rustup target add thumbv7em-none-eabihf thumbv7m-none-eabi thumbv6m-none-eabi
- run: ./build-all.sh
check_msrv_all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-hack
- run: ./msrv-all.sh
12 changes: 12 additions & 0 deletions msrv-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

set -euo pipefail

DIRS="os testsuite/stm32f4 testsuite/stm32g0 examples/*/*"

for d in $DIRS; do
echo "---- building in $d"
pushd $d > /dev/null
cargo hack check --rust-version
popd > /dev/null
done

0 comments on commit d4f0011

Please sign in to comment.