Nim matrix #384
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Nim matrix | |
| on: | |
| merge_group: | |
| workflow_dispatch: | |
| env: | |
| cache_nonce: 0 # Allows for easily busting actions/cache caches | |
| nim_version: pinned | |
| jobs: | |
| matrix: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| matrix: ${{ steps.matrix.outputs.matrix }} | |
| cache_nonce: ${{ env.cache_nonce }} | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Compute matrix | |
| id: matrix | |
| run: | | |
| echo 'matrix<<EOF' >> $GITHUB_OUTPUT | |
| tools/scripts/ci-job-matrix.sh linux >> $GITHUB_OUTPUT | |
| echo 'EOF' >> $GITHUB_OUTPUT | |
| build: | |
| needs: matrix | |
| uses: ./.github/workflows/ci-reusable.yml | |
| with: | |
| matrix: ${{ needs.matrix.outputs.matrix }} | |
| cache_nonce: ${{ needs.matrix.outputs.cache_nonce }} |