Skip to content

Commit

Permalink
Revert "ci: temporarily disable "Rust build test""
Browse files Browse the repository at this point in the history
This reverts commit 96287a8 from [249]
that had been required to resolve a deadlock.

[249]: #249
  • Loading branch information
chrysn committed Mar 21, 2024
1 parent 3509e7d commit cabec51
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,22 +128,21 @@ jobs:
DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest
BOARDS: "native samr21-xpro"

# TEMPORARILY disable rust test
# - name: Rust build test
# run: |
# # Some of the above are executed by root, creating ~/.cargo/git as
# # that user, blocking downloads of own libraries.
# rm -rf ~/.cargo
# make -CRIOT/examples/rust-hello-world BUILDTEST_MAKE_REDIRECT='' buildtest
# # TODO: temporarily disabled (sock_udp.h not found)
# #make -CRIOT/examples/rust-gcoap BUILDTEST_MAKE_REDIRECT='' buildtest
# env:
# BUILD_IN_DOCKER: 1
# DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest
# # Not all of them are actually available; still using the "canonical"
# # list of representative boards above to keep this stable whil Rust
# # support expands
# BOARDS: "arduino-uno esp32-wroom-32 hifive1b msb-430h native samr21-xpro"
- name: Rust build test
run: |
# Some of the above are executed by root, creating ~/.cargo/git as
# that user, blocking downloads of own libraries.
rm -rf ~/.cargo
make -CRIOT/examples/rust-hello-world BUILDTEST_MAKE_REDIRECT='' buildtest
# TODO: temporarily disabled (sock_udp.h not found)
#make -CRIOT/examples/rust-gcoap BUILDTEST_MAKE_REDIRECT='' buildtest
env:
BUILD_IN_DOCKER: 1
DOCKER_IMAGE: ${{ env.DOCKER_REGISTRY }}/riotbuild:latest
# Not all of them are actually available; still using the "canonical"
# list of representative boards above to keep this stable whil Rust
# support expands
BOARDS: "arduino-uno esp32-wroom-32 hifive1b msb-430h native samr21-xpro"

- name: C++ build test
run: |
Expand Down

0 comments on commit cabec51

Please sign in to comment.