Skip to content

workflow: simplify #343

workflow: simplify

workflow: simplify #343

Workflow file for this run

name: CI
on:
push:
jobs:
pre_ci:
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master
build-packages:
strategy:
fail-fast: false
matrix:
package:
- installer-stable
- alvr
- nixvim
- opentofu
- plasma-aero-theme
- qpm-cli
- sandwine
- wgsl-analyzer
- yt-dlp
- nixosConfigurations.marie-desktop.config.system.build.kernel
name: Build package ${{ matrix.package }}
runs-on: ubuntu-latest
needs: pre_ci
if: needs.pre_ci.outputs.continue
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
- name: Build ${{ matrix.package }}
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
run: |
nix shell --inputs-from . \
nixpkgs#nix-fast-build \
-c \
nix-fast-build \
--skip-cached \
--no-nom \
--cachix-cache uwumarie \
--flake '.#${{ matrix.package }}'