Skip to content

chore: update flakes #347

chore: update flakes

chore: update flakes #347

Workflow file for this run

name: CI
on: push
jobs:
flake-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: |
sudo apt-get update -q -y && sudo apt-get install -q -y qemu-system-aarch64 qemu-efi binfmt-support qemu-user-static
sudo update-binfmts --display
- name: check flake
run: nix --extra-platforms aarch64-linux flake check --impure
lock-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: check lock file
run:
nix flake lock --no-update-lock-file
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Lint code
run: |
nix develop --impure --command lint
build-test-arm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: |
sudo apt-get update -q -y && sudo apt-get install -q -y qemu-system-aarch64 qemu-efi binfmt-support qemu-user-static
sudo update-binfmts --display
- name: check config builds
run: |
nix build .#nixosConfigurations.eir.config.system.build.toplevel -j4 --option system aarch64-linux --option sandbox false --extra-platforms aarch64-linux
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
module:
- hel
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: check config builds
run: |
nix build .#nixosConfigurations.${{ matrix.module }}.config.system.build.toplevel
home-build-test:
runs-on: ubuntu-latest
strategy:
matrix:
module:
- henry@hel
- henry@tyr
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: check config builds
run: |
nix build .#homeConfigurations."${{ matrix.module }}".activationPackage