Skip to content

try matrix

try matrix #446

Workflow file for this run

name: "CI"
on:
push:
branches:
- "*"
pull_request:
jobs:
setup:
runs-on: self-hosted
outputs:
mymatrix: ${{ steps.dataStep.outputs.myoutput }}
steps:
- id: dataStep
run: |
echo "myoutput=$(nix eval .#data)" >> $GITHUB_OUTPUT
run-matrix:
needs: setup
runs-on: self-hosted
strategy:
matrix: ${{ fromJson(needs.setup.outputs.mymatrix) }}
steps:
- uses: actions/checkout@v4
- run: echo ${{matrix.target}}
# - run: nixci
- run: nix build -L .#${{matrix.target}}
#- run: nix build -L .#packages.aarch64-linux.default
#- run: nix build -L .#packages.x86_64-linux.default