Skip to content

Commit

Permalink
DO NOT MERGE: Enable nightly for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Dec 6, 2023
1 parent d061b7d commit ab262b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,21 +117,23 @@ jobs:
done
# common steps end here

- name: TEMPORARY add nightly toolchain
run: sudo rustup toolchain add nightly
- name: Build and run test
run: |
set -x
export RIOTBASE=$(pwd)/RIOT
cd ${{ matrix.testdir }}
if BOARDS=${{ matrix.board }} make info-boards-supported | grep -q .
then
BOARD=${{ matrix.board }} make all
BOARD=${{ matrix.board }} make all CARGO_CHANNEL=nightly CARGO_OPTIONS=-Zbuild-std=core
if [ "native" = "${{ matrix.board }}" ] && make test/available BOARD=native
then
echo
echo "Testing ${D}"
echo
make all test BOARD=native
make all test BOARD=native CARGO_CHANNEL=nightly CARGO_OPTIONS=-Zbuild-std=core
fi
else
echo "Board is not supported for this test, skipping."
Expand Down

0 comments on commit ab262b6

Please sign in to comment.