@@ -16,20 +16,21 @@ permissions:
1616
1717jobs :
1818 nix-eval :
19- runs-on :
20- group : self-hosted-runners-nix
21- labels :
22- - aarch64-darwin
19+ runs-on : blacksmith-32vcpu-ubuntu-2404
2320 outputs :
2421 matrix : ${{ steps.set-matrix.outputs.matrix }}
2522 steps :
2623 - name : Checkout Repo
2724 uses : actions/checkout@v4
25+ - name : Install nix
26+ uses : cachix/install-nix-action@v31
27+ with :
28+ install_url : https://releases.nixos.org/nix/nix-2.31.2/install
2829 - id : set-matrix
2930 name : Generate Nix Matrix
3031 run : |
3132 set -Eeu
32- echo matrix="$(python scripts/github-matrix.py checks legacyPackages)" >> "$GITHUB_OUTPUT"
33+ echo matrix="$(nix shell github:nix-community/nix-eval-jobs --command scripts/github-matrix.py checks legacyPackages)" >> "$GITHUB_OUTPUT"
3334
3435 nix-build-aarch64-linux :
3536 name : ${{ matrix.name }} (aarch64-linux)
4445 - name : Checkout Repo
4546 uses : actions/checkout@v4
4647 - name : Build Nix Package
47- uses : ./.github/actions/nix-build-setup
48+ uses : ./.github/actions/nix-build-self-hosted
4849 with :
4950 attr : ${{ matrix.attr }}
5051
6162 - name : Checkout Repo
6263 uses : actions/checkout@v4
6364 - name : Build Nix Package
64- uses : ./.github/actions/nix-build-setup
65+ uses : ./.github/actions/nix-build-self-hosted
6566 with :
6667 attr : ${{ matrix.attr }}
6768
@@ -79,14 +80,14 @@ jobs:
7980 # - name: Checkout Repo
8081 # uses: actions/checkout@v4
8182 # - name: Build Nix Package
82- # uses: ./.github/actions/nix-build-setup
83+ # uses: ./.github/actions/nix-build-self-hosted
8384 # with:
8485 # attr: ${{ matrix.attr }}
8586
8687 run-testinfra :
8788 needs : [nix-build-aarch64-linux, nix-build-aarch64-darwin] # , nix-build-x86_64-linux]
8889 if : |
89- !cancelled() &&
90+ !cancelled() &&
9091 (needs.nix-build-aarch64-linux.result == 'skipped' || needs.nix-build-aarch64-linux.result == 'success') &&
9192 (needs.nix-build-aarch64-darwin.result == 'skipped' || needs.nix-build-aarch64-darwin.result == 'success')
9293 uses : ./.github/workflows/testinfra-ami-build.yml
0 commit comments