Skip to content

cli: add lazygit

cli: add lazygit #341

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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Setup QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3
- name: Install nix
uses: DeterminateSystems/nix-installer-action@cd46bde16ab981b0a7b2dce0574509104543276e # v9
with:
extra-conf: |
extra-platforms = aarch64-linux i686-linux
- name: Use cache
uses: DeterminateSystems/magic-nix-cache-action@eeabdb06718ac63a7021c6132129679a8e22d0c7 # v3
- name: Build ${{ matrix.name }}
run: nix build ".#"${{ matrix.path }}