Skip to content

Commit

Permalink
Merge pull request #251 from chrysn-pull-requests/reenable-rust-tests
Browse files Browse the repository at this point in the history
Revert "ci: temporarily disable "Rust build test""
  • Loading branch information
kaspar030 authored Mar 21, 2024
2 parents 3509e7d + cabec51 commit e011580
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 e011580

Please sign in to comment.