Skip to content

Commit

Permalink
Tests: Remove leftover files from other builds
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Feb 3, 2023
1 parent d2e7873 commit 040c1db
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,9 @@ jobs:
# Some of the above are executed by root, creating ~/.cargo/git as
# that user, blocking downloads of own libraries.
rm -rf ~/.cargo
# Once a release is out that can be built on stable, this switcharoo
# can be removed -- until then, each release of RIOT is only
# supported with the very Rust version that was the configured
# nightly it was released with; such is the nature of nightly.
#
# Note that `git switch master` does not work because the checkout
# action does only minimal fetching.
(cd RIOT && git fetch origin master && git checkout FETCH_HEAD)
make -CRIOT/examples/rust-hello-world BUILDTEST_MAKE_REDIRECT='' buildtest
# Something left directories that break things
make distclean
t make -CRIOT/examples/rust-hello-world BUILDTEST_MAKE_REDIRECT='' buildtest
make -CRIOT/examples/rust-gcoap BUILDTEST_MAKE_REDIRECT='' buildtest
(cd RIOT && git switch -)
env:
Expand Down

0 comments on commit 040c1db

Please sign in to comment.