From 9df50c6ea37d4b85df5c011a3329ab8f9c9b8de3 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Sun, 1 Sep 2024 09:20:37 -0700 Subject: [PATCH] CI: remove self-hosted runner --- .github/workflows/on-target.yml | 46 --------------------------------- 1 file changed, 46 deletions(-) diff --git a/.github/workflows/on-target.yml b/.github/workflows/on-target.yml index 27999a3c..753da6e8 100644 --- a/.github/workflows/on-target.yml +++ b/.github/workflows/on-target.yml @@ -32,49 +32,3 @@ jobs: -nographic \ -semihosting-config enable=on,target=native \ -kernel target/thumbv7m-none-eabi/debug/testsuite - - hil-compile-rtt: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - with: - targets: thumbv6m-none-eabi - - name: Modify linkerfile - run: | - sed -i 's/FLASH : ORIGIN = 0x00000000, LENGTH = 256K/FLASH : ORIGIN = 0x8000000, LENGTH = 128K/g' memory.x - sed -i 's/RAM : ORIGIN = 0x20000000, LENGTH = 64K/RAM : ORIGIN = 0x20000000, LENGTH = 16K/g' memory.x - - name: Build testsuite - env: - RUSTFLAGS: -C link-arg=-Tlink.x -D warnings - run: cargo build -p testsuite --target thumbv6m-none-eabi --features rtt - - name: Upload testsuite binaries - uses: actions/upload-artifact@v4 - with: - name: testsuite-bin - if-no-files-found: error - retention-days: 1 - path: target/thumbv6m-none-eabi/debug/testsuite - - hil-stm32: - runs-on: self-hosted - needs: - - hil-compile-rtt - steps: - - uses: actions/checkout@v4 - - name: Display probe-rs version - run: probe-rs --version - - name: List probes - run: probe-rs list - - uses: actions/download-artifact@v4 - with: - name: testsuite-bin - path: testsuite-bin - - name: Run on-target tests - timeout-minutes: 5 - run: | - probe-rs run \ - --chip STM32F070RBTx \ - --connect-under-reset \ - --probe 0483:374b:066CFF504955857567220634 \ - testsuite-bin/testsuite