Skip to content

.github/workflows: Improve pipeline with some parallel steps #31

.github/workflows: Improve pipeline with some parallel steps

.github/workflows: Improve pipeline with some parallel steps #31

Workflow file for this run

name: Exhaustive Flake Test
on:
workflow_dispatch:
push:
branches:
- staging
jobs:
check:
name: Check Flake Outputs
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/setup-env.yml
- name: Flake Check
run: nix flake check
build:
name: Build Flake Outputs
runs-on: ubuntu-latest
strategy:
matrix:
outputs: ['nixosConfigurations.LAPTOP-3DT4F02.config.system.build.toplevel',
'nixosConfigurations.DESKTOP-3DT4F02.config.system.build.toplevel',
'nixosConfigurations.ISO-3DT4F02.config.system.build.isoImage']
steps:
- uses: ./.github/workflows/setup-env.yml
- name: Flake Build
run: |
nix build '.#${{ matrix.outputs }}'