2024-02-06 10:56:27 +00:00
|
|
|
name: Nim matrix
|
|
|
|
|
|
|
|
on:
|
|
|
|
merge_group:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
env:
|
|
|
|
cache_nonce: 0 # Allows for easily busting actions/cache caches
|
2024-06-27 19:58:27 +00:00
|
|
|
nim_version: pinned
|
2024-02-06 10:56:27 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
matrix:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
outputs:
|
|
|
|
matrix: ${{ steps.matrix.outputs.matrix }}
|
|
|
|
cache_nonce: ${{ env.cache_nonce }}
|
|
|
|
steps:
|
|
|
|
- name: Compute matrix
|
|
|
|
id: matrix
|
|
|
|
uses: fabiocaccamo/create-matrix-action@v4
|
|
|
|
with:
|
|
|
|
matrix: |
|
2024-12-15 23:31:55 +00:00
|
|
|
os {linux}, cpu {amd64}, builder {ubuntu-20.04}, tests {unittest}, nim_version {${{ env.nim_version }}}, shell {bash --noprofile --norc -e -o pipefail}
|
|
|
|
os {linux}, cpu {amd64}, builder {ubuntu-20.04}, tests {contract}, nim_version {${{ env.nim_version }}}, shell {bash --noprofile --norc -e -o pipefail}
|
|
|
|
os {linux}, cpu {amd64}, builder {ubuntu-20.04}, tests {integration}, nim_version {${{ env.nim_version }}}, shell {bash --noprofile --norc -e -o pipefail}
|
|
|
|
os {linux}, cpu {amd64}, builder {ubuntu-20.04}, tests {tools}, nim_version {${{ env.nim_version }}}, shell {bash --noprofile --norc -e -o pipefail}
|
2024-02-06 10:56:27 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
needs: matrix
|
|
|
|
uses: ./.github/workflows/ci-reusable.yml
|
|
|
|
with:
|
|
|
|
matrix: ${{ needs.matrix.outputs.matrix }}
|
|
|
|
cache_nonce: ${{ needs.matrix.outputs.cache_nonce }}
|