Skip to content

Commit

Permalink
run on cluster [WIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
t-moe committed Dec 4, 2024
1 parent 389a481 commit 430e5e5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
8 changes: 4 additions & 4 deletions .github/test-projects/step-executor.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
echo start
echo "$TARGET"
echo "$TARGET_CONFIG"
echo end
set -e
set -x

/home/probe-rs-runner/probe-rs run "$TARGET" $TARGET_CONFIG

exit 1
40 changes: 20 additions & 20 deletions .github/workflows/smoketest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

build:
runs-on: ubuntu-latest
name: Build ${{inputs.soc}}
name: Build example for ${{inputs.soc}}

steps:
- name: Checkout sources
Expand All @@ -42,25 +42,25 @@ jobs:
name: ${{inputs.soc}}
path: .github/test-projects/${{inputs.project}}/output/${{inputs.soc}}

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

steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/test-projects/step-executor.sh
sparse-checkout-cone-mode: false
- uses: actions/download-artifact@v4
with:
name: ${{inputs.soc}}


# run:
# runs-on: [ "self-hosted", "linux", "ARM64", "smoke-tester-2" ]
# needs: build
#
# strategy:
# matrix: *build-matrix
#
#
# steps:
# #- uses: actions/download-artifact@v4
# # with:
# # name: probe-rs
#
# - name: Checkout sources
# uses: actions/checkout@v4
#
# - name: Run embedded-tests
# run: |
# python ${ORCHESTRATOR} --target ${{inputs.soc}} --step-executor ./.github/test-projects/step-executor.sh
- name: Run embedded-tests
run: |
ls -lah
python ${ORCHESTRATOR} --target ${{inputs.soc}} --step-executor .github/test-projects/step-executor.sh

0 comments on commit 430e5e5

Please sign in to comment.