Skip to content

Commit

Permalink
Test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jpm-canonical committed Sep 30, 2024
1 parent 45eae10 commit 2550cd0
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/snap-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ env:
ARTIFACT_ARM64: chip-tool_${{ github.run_number}}_arm64

jobs:
build_matrix:
matrix-build:
strategy:
matrix:
runner: ["ubuntu-latest", [self-hosted, ARM64, Linux]]
runs-on: ${{ matrix.runner }}
env:
RUNNER: ${{ matrix.runner }}

# outputs:
# snap: ${{ steps.snapcraft.outputs.snap }}
Expand All @@ -31,8 +29,9 @@ jobs:
uses: actions/checkout@v4

- name: Debug print
run: |
echo "Running on $RUNNER"
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"

# - name: Build snap
# uses: snapcore/action-build@v1
Expand All @@ -44,3 +43,10 @@ jobs:
# name: ${{ env.ARTIFACT_AMD64 }}
# path: ${{ steps.snapcraft.outputs.snap }}
# if-no-files-found: error

promote:
needs: [matrix-build]
runs-on: ubuntu-latest
steps:
- name: Promote
run: echo "Promoting"

0 comments on commit 2550cd0

Please sign in to comment.