Skip to content

Commit

Permalink
Work around SUIT related build breakage
Browse files Browse the repository at this point in the history
Merges: #1
  • Loading branch information
chrysn authored Sep 16, 2024
2 parents 93471d4 + ea3cf7c commit b9bb5c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: build

on:
push:
branches: ["main"]
schedule:
# While we don't have hooks triggering this from riot-sys etc, a cron job
# is the next best thing
Expand Down Expand Up @@ -33,6 +32,7 @@ jobs:
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
SECRET_PORT: ${{ secrets.SECRET_PORT }}
if: github.ref == 'refs/heads/main'
run: |
# Beware that SSH uses /root and not ~ = ${HOME} = /github/home/ as
# documented on https://bugzilla.mindrot.org/show_bug.cgi?id=3048
Expand Down
7 changes: 7 additions & 0 deletions build-with-checkouts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@ cargo update
# target is not added the same way.
rustup target add thumbv7em-none-eabihf

# We're not running with RIOT_CI_BUILD to avoid getting *all* the effects of
# things being different, but that also means there is an interactive prompt as
# soon as one starts doing anything SUIT related. Can't set RIOT_CI_BUILD
# because it'd also change the output path, so we emulate a user picking
# 'none' whyen prompted.
echo '0' | make -C RIOT/examples/suit_update suit/genkey

make build-cargo-docs

0 comments on commit b9bb5c7

Please sign in to comment.