1
+ on : push
2
+
3
+ # Cancel any currently running workflows from the same PR, branch, or
4
+ # tag when a new workflow is triggered.
5
+ #
6
+ # https://stackoverflow.com/a/66336834
7
+ concurrency :
8
+ cancel-in-progress : true
9
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
10
+
11
+ name : Smoke Test
12
+
13
+ jobs :
14
+ embedded-test :
15
+ runs-on : [ "self-hosted", "linux", "ARM64", "smoke-tester-2" ]
16
+
17
+ strategy :
18
+ matrix :
19
+ targets : [
20
+ { soc: "esp32c2", "target": "riscv32imac-unknown-none-elf" },
21
+ { soc: "esp32c3", "target": "riscv32imac-unknown-none-elf" },
22
+ { soc: "esp32c6", "target": "riscv32imac-unknown-none-elf" },
23
+ { soc: "esp32s3", "target": "xtensa-esp32s3-none-elf" },
24
+ { soc: "stm32c011f6", "target": "thumbv6m-none-eabi" },
25
+ { soc: "stm32f051r8", "target": "thumbv6m-none-eabi" },
26
+ { soc: "stm32f429zi", "target": "thumbv7em-none-eabihf" },
27
+ { soc: "stm32g031k8", "target": "thumbv7em-none-eabihf" },
28
+ { soc: "stm32g431kb", "target": "thumbv7em-none-eabihf" },
29
+ { soc: "stm32l432kc", "target": "thumbv7em-none-eabihf" },
30
+ { soc: "stm32u545re", "target": "thumbv7em-none-eabihf" },
31
+ { soc: "nrf51422", "target": "thumbv7em-none-eabihf" },
32
+ { soc: "nrf52832", "target": "thumbv7em-none-eabihf" }
33
+ ]
34
+
35
+ # needs: build
36
+
37
+ steps :
38
+ # - uses: actions/download-artifact@v4
39
+ # with:
40
+ # name: probe-rs
41
+
42
+ - name : Checkout sources
43
+ uses : actions/checkout@v4
44
+
45
+ - name : Run embedded-tests
46
+ run : |
47
+ python ${ORCHESTRATOR} --target ${{matrix.targets.soc}} --step-executor ./.github/test-projects/step-executor.sh
0 commit comments