Skip to content

Commit

Permalink
test-app with optional arch
Browse files Browse the repository at this point in the history
  • Loading branch information
mzagozen committed Feb 4, 2025
1 parent 96c5abe commit cef22c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
repo_url:
required: true
type: string
arch:
required: false
type: string
default: "amd64"
jobs:
test-app:
runs-on: ubuntu-latest
Expand All @@ -16,7 +20,7 @@ jobs:
- name: "Download .deb files"
uses: actions/download-artifact@v4
with:
name: acton-debs
name: acton-debs-${{ inputs.arch }}
- name: "Install acton from .deb"
run: |
sudo apt install -y ./deb/acton_*.deb
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -512,10 +512,15 @@ jobs:
make test
test-app-respnet:
strategy:
fail-fast: false
matrix:
arch: [amd64, arm64]
needs: build-debs
uses: "./.github/workflows/test-app.yml"
with:
repo_url: "orchestron-orchestrator/respnet"
arch: ${{ matrix.arch }}

test-app-orchestron:
needs: build-debs
Expand Down

0 comments on commit cef22c7

Please sign in to comment.