Skip to content

Commit

Permalink
check dynmatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcekay committed Dec 11, 2024
1 parent 0b0b0ef commit 56b6f12
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/dynmatrix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Run dynmatrix

on:
push:
branches:
- 'main'
pull_request:
branches:
- '*'

jobs:
gen_matrix:
name: Setup matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- id: set-matrix
run: |
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
MAT=$(cat << EOF
[
{
"runner": "test-sknds-v1.3",
"target": "[email protected]"
}
]
EOF
)
echo "matrix<<$EOF" >> $GITHUB_OUTPUT
echo "$MAT" >> $GITHUB_OUTPUT
echo "$EOF" >> $GITHUB_OUTPUT
sknd_hwt:
name: Running ${{ matrix.target }}
runs-on: ${{ matrix.runner}}
needs: gen_matrix
strategy:
matrix: ${{ fromJson(needs.gen_matrix.outputs.matrix) }}
fail-fast: false
steps:
- uses: actions/checkout@v4

- name: Start test
run: make ${{ matrix.target }}

0 comments on commit 56b6f12

Please sign in to comment.