Skip to content

Commit

Permalink
CI: Change RIOT in-place to assert that its use of riot-wrappers 0.8 …
Browse files Browse the repository at this point in the history
…is compatible with 0.9
  • Loading branch information
chrysn committed Apr 15, 2024
1 parent 2e38a3b commit 1bb20da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ jobs:
rm -f .cargo/config.toml
mkdir -p .cargo # Keep working if RIOT ever decides it doesn't need overrides any more
echo '[patch.crates-io]' >> .cargo/config.toml
echo 'riot-wrappers = { path = "../", version = "*" }' >> .cargo/config.toml
echo 'riot-wrappers = { path = "../", version = "0.9.0-alpha.1" }' >> .cargo/config.toml
echo 'riot-sys = { git = "https://github.com/RIOT-OS/rust-riot-sys" }' >> .cargo/config.toml
# The 0.8 to 0.9 upgrade is such that we don't need a flag day as long as "nobody is holding it wrong".
find -name Cargo.toml -exec sed -i 's/\(^riot-wrappers.*\)"\^\?0.8"\(.*\)/\1"0.9.0-alpha.1"\2/' '{}' '+'
- name: Pull cargo updates
# No sense in running this in parallel -- this will download the index
# and all relevant crates once, and after that, just make some notes in Cargo.lock
Expand Down

0 comments on commit 1bb20da

Please sign in to comment.