Skip to content

Commit 791842b

Browse files
committed
run on cluster [WIP]
1 parent 389a481 commit 791842b

File tree

3 files changed

+29
-29
lines changed

3 files changed

+29
-29
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
2-
echo start
3-
echo "$TARGET"
4-
echo "$TARGET_CONFIG"
5-
echo end
2+
set -e
3+
set -x
4+
5+
/home/probe-rs-runner/probe-rs run "$TARGET" $TARGET_CONFIG
66

77
exit 1

.github/workflows/smoketest.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
build:
1919
runs-on: ubuntu-latest
20-
name: Build ${{inputs.soc}}
20+
name: Build example for ${{inputs.soc}}
2121

2222
steps:
2323
- name: Checkout sources
@@ -42,25 +42,25 @@ jobs:
4242
name: ${{inputs.soc}}
4343
path: .github/test-projects/${{inputs.project}}/output/${{inputs.soc}}
4444

45+
run:
46+
runs-on: [ "self-hosted", "linux", "ARM64", "smoke-tester-2" ]
47+
needs: build
48+
name: Run on ${{inputs.soc}}
4549

50+
steps:
51+
- name: Checkout sources
52+
uses: actions/checkout@v4
53+
with:
54+
sparse-checkout: |
55+
.github/test-projects/step-executor.sh
56+
sparse-checkout-cone-mode: false
57+
58+
- uses: actions/download-artifact@v4
59+
with:
60+
name: ${{inputs.soc}}
4661

4762

48-
# run:
49-
# runs-on: [ "self-hosted", "linux", "ARM64", "smoke-tester-2" ]
50-
# needs: build
51-
#
52-
# strategy:
53-
# matrix: *build-matrix
54-
#
55-
#
56-
# steps:
57-
# #- uses: actions/download-artifact@v4
58-
# # with:
59-
# # name: probe-rs
60-
#
61-
# - name: Checkout sources
62-
# uses: actions/checkout@v4
63-
#
64-
# - name: Run embedded-tests
65-
# run: |
66-
# python ${ORCHESTRATOR} --target ${{inputs.soc}} --step-executor ./.github/test-projects/step-executor.sh
63+
- name: Run embedded-tests
64+
run: |
65+
ls -lah
66+
python ${ORCHESTRATOR} --target ${{inputs.soc}} --step-executor .github/test-projects/step-executor.sh

.github/workflows/smoketest_master.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
#{ soc: "esp32c6", "target": "riscv32imac-unknown-none-elf", "project": "esp32" },
2323
#{ soc: "esp32s3", "target": "xtensa-esp32s3-none-elf", "project": "esp32" },
2424
{ soc: "stm32c011f6", "target": "thumbv6m-none-eabi", "project": "stm32" },
25-
{ soc: "stm32f051r8", "target": "thumbv6m-none-eabi", "project": "stm32" },
25+
#{ soc: "stm32f051r8", "target": "thumbv6m-none-eabi", "project": "stm32" },
2626
{ soc: "stm32f429zi", "target": "thumbv7em-none-eabi", "project": "stm32" },
27-
{ soc: "stm32g031k8", "target": "thumbv6m-none-eabi", "project": "stm32" },
28-
{ soc: "stm32g431kb", "target": "thumbv7em-none-eabi", "project": "stm32" },
29-
{ soc: "stm32l432kc", "target": "thumbv7em-none-eabi", "project": "stm32" },
30-
{ soc: "stm32u545re", "target": "thumbv8m.main-none-eabihf", "project": "stm32" },
27+
#{ soc: "stm32g031k8", "target": "thumbv6m-none-eabi", "project": "stm32" },
28+
#{ soc: "stm32g431kb", "target": "thumbv7em-none-eabi", "project": "stm32" },
29+
#{ soc: "stm32l432kc", "target": "thumbv7em-none-eabi", "project": "stm32" },
30+
#{ soc: "stm32u545re", "target": "thumbv8m.main-none-eabihf", "project": "stm32" },
3131
#{ soc: "nrf51422", "target": "thumbv7em-none-eabihf", "project": "nrf" },
3232
#{ soc: "nrf52832", "target": "thumbv7em-none-eabihf", "project": "nrf" }
3333
]

0 commit comments

Comments
 (0)