Skip to content

CI: remove self-hosted runner #556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions .github/workflows/on-target.yml
Original file line number Diff line number Diff line change
@@ -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