mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-02 13:33:10 +00:00
33 lines
787 B
YAML
33 lines
787 B
YAML
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 }}
|