diff --git a/.github/workflows/boards_build.yml b/.github/workflows/boards_build.yml index 477657fed52c646fb69fc3bc9412986aa9a66cbc..61d1b5a4094c121ea66fd799e59e7e75cc6b1a53 100644 --- a/.github/workflows/boards_build.yml +++ b/.github/workflows/boards_build.yml @@ -25,6 +25,6 @@ jobs: run: ./setup.sh - name: Building board nrf52840dk - run: cd third_party/tock/boards/nordic/nrf52840dk && make + run: make -C third_party/tock/boards/nordic/nrf52840dk - name: Building board nrf52840_dongle - run: cd third_party/tock/boards/nordic/nrf52840_dongle && make + run: make -C third_party/tock/boards/nordic/nrf52840_dongle diff --git a/run_desktop_tests.sh b/run_desktop_tests.sh index 6e5a27dc0a95aa39e43e09ac4921b2486c606887..33b209014900702be46cf0026d99d9d7b929e41c 100755 --- a/run_desktop_tests.sh +++ b/run_desktop_tests.sh @@ -41,14 +41,8 @@ echo "Checking that CTAP2 builds and links properly (1 set of features)..." cargo build --release --target=thumbv7em-none-eabi --features with_ctap1 echo "Checking that supported boards build properly..." -cd third_party/tock/boards -cd nordic/nrf52840dk -make -cd ../.. -cd nordic/nrf52840_dongle -make -cd ../.. -cd ../../.. +make -C third_party/tock/boards/nordic/nrf52840dk +make -C third_party/tock/boards/nordic/nrf52840_dongle if [ -z "${TRAVIS_OS_NAME}" -o "${TRAVIS_OS_NAME}" = "linux" ] then