this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: add GitHub Actions workflow for NixOS build

authored by

Khue Doan and committed by
GitHub
8c42bb67 f22d7b9c

+32
+32
.github/workflows/build.yaml
··· 1 + name: Build 2 + 3 + on: 4 + pull_request: 5 + push: 6 + branches: 7 + - master 8 + workflow_dispatch: 9 + 10 + permissions: 11 + contents: read 12 + id-token: write 13 + 14 + jobs: 15 + build-nixos: 16 + name: Build NixOS hosts 17 + runs-on: ubuntu-latest 18 + steps: 19 + - name: Checkout 20 + uses: actions/checkout@v4 21 + 22 + - name: Install Nix 23 + uses: DeterminateSystems/nix-installer-action@main 24 + 25 + - name: Enable Magic Nix Cache 26 + uses: DeterminateSystems/magic-nix-cache-action@main 27 + 28 + - name: Build hosts 29 + run: | 30 + for host in $(nix eval --json --apply builtins.attrNames .#nixosConfigurations | jq -r '.[]'); do 31 + make build host="$host" 32 + done