Skip to content

Commit

Permalink
Merge pull request #556 from newAM/rm-self-hosted-runner
Browse files Browse the repository at this point in the history
CI: remove self-hosted runner
  • Loading branch information
adamgreig authored Sep 1, 2024
2 parents 5473462 + 9df50c6 commit 2438071
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/on-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2438071

Please sign in to comment.