Update HIL to probe-rs#2292 (#1307) #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: HIL | |
on: | |
merge_group: | |
workflow_dispatch: | |
# FIXME: Remove before merging? | |
push: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
# TODO: Shall we use a matrix? | |
# Test RISC-V targets: | |
# test-esp32c2: | |
# name:HIL Test | ESP32-C2 | |
# runs-on: | |
# labels: [self-hosted, esp32c2] | |
# steps: | |
# - name: Run tests on-device | |
# env: | |
# PROBE_RS_CHIP: esp32c2 | |
# run: | | |
# # ... | |
# test-esp32c3: | |
# name: HIL Test | ESP32-C3 | |
# runs-on: | |
# labels: [self-hosted, rustboard] | |
# env: | |
# PROBE_RS_CHIP: esp32c3 | |
# CARGO_BUILD_TARGET: riscv32imc-unknown-none-elf | |
# steps: | |
# - uses: actions/checkout@v4 | |
# with: | |
# ref: 'feat/hil-testing' | |
# - uses: dtolnay/rust-toolchain@v1 | |
# with: | |
# target: ${{ env.CARGO_BUILD_TARGET }} | |
# toolchain: nightly | |
# - name: Run tests | |
# run: | | |
# cd hil-test/ | |
# cargo test --release --features=${{ env.PROBE_RS_CHIP }} | |
test-esp32c6: | |
name: HIL Test | ESP32-C6 | |
runs-on: | |
labels: [self-hosted, esp32c6-usb] | |
env: | |
PROBE_RS_CHIP: esp32c6 | |
CARGO_BUILD_TARGET: riscv32imac-unknown-none-elf | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: 'feat/hil-testing' | |
- uses: dtolnay/rust-toolchain@v1 | |
with: | |
target: ${{ env.CARGO_BUILD_TARGET }} | |
toolchain: nightly | |
- name: Run tests | |
run: | | |
cd hil-test/ | |
cargo test --release --features=${{ env.PROBE_RS_CHIP }} | |
test-esp32h2: | |
name: HIL Test | ESP32-H2 | |
runs-on: | |
labels: [self-hosted, esp32h2-usb] | |
env: | |
PROBE_RS_CHIP: esp32h2 | |
CARGO_BUILD_TARGET: riscv32imac-unknown-none-elf | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: 'feat/hil-testing' | |
- uses: dtolnay/rust-toolchain@v1 | |
with: | |
target: ${{ env.CARGO_BUILD_TARGET }} | |
toolchain: nightly | |
- name: Run tests | |
run: | | |
cd hil-test/ | |
cargo test --release --features=${{ env.PROBE_RS_CHIP }} | |
# Test Xtensa targets: | |
# TODO: Add jobs for Xtensa once supported by `probe-rs` |