Skip to content

chore(deps): update determinatesystems/update-flake-lock action to v2… #362

chore(deps): update determinatesystems/update-flake-lock action to v2…

chore(deps): update determinatesystems/update-flake-lock action to v2… #362

Workflow file for this run

name: build
on:
pull_request:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: 'jamie-desktop'
path: 'nixosConfigurations."jamie-desktop".config.system.build.toplevel'
- name: 'rpi'
path: 'nixosConfigurations."rpi".config.system.build.toplevel'
- name: 'jamie-hyperv'
path: 'nixosConfigurations."jamie-hyperv".config.system.build.toplevel'
- name: 'alfred'
path: 'nixosConfigurations."alfred".config.system.build.toplevel'
- name: 'jamie@alfred'
path: 'homeConfigurations."jamie@alfred".activationPackage'
- name: 'jamie@rpi'
path: 'homeConfigurations."jamie@rpi".activationPackage'
- name: 'jamie@generic'
path: 'homeConfigurations."jamie@generic".activationPackage'
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- name: Setup QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3
- name: Install nix
uses: DeterminateSystems/nix-installer-action@7993355175c2765e5733dae74f3e0786fe0e5c4f # v12
with:
extra-conf: |
extra-platforms = aarch64-linux i686-linux
- name: Use cache
uses: DeterminateSystems/magic-nix-cache-action@87e8236f46702ab0ce5a058b605a173ec88d618e # v6
- name: Build ${{ matrix.name }}
run: nix build ".#"${{ matrix.path }}