Skip to content

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

.github/workflows: Improve pipeline with some parallel steps

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

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:
- name: Prepare Environment
uses: ./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:
- name: Prepare Environment
uses: ./setup-env.yml
- name: Flake Build
run: |
nix build '.#${{ matrix.outputs }}'