@@ -16,20 +16,21 @@ permissions:
16
16
17
17
jobs :
18
18
nix-eval :
19
- runs-on :
20
- group : self-hosted-runners-nix
21
- labels :
22
- - aarch64-darwin
19
+ runs-on : blacksmith-32vcpu-ubuntu-2404
23
20
outputs :
24
21
matrix : ${{ steps.set-matrix.outputs.matrix }}
25
22
steps :
26
23
- name : Checkout Repo
27
24
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
28
29
- id : set-matrix
29
30
name : Generate Nix Matrix
30
31
run : |
31
32
set -Eeu
32
- echo matrix="$(python scripts/github-matrix.py checks legacyPackages)" >> "$GITHUB_OUTPUT"
33
+ echo matrix="$(nix shell nixpkgs/405fc615369e0ea1b9c284c107ca4c3e1bc15774#nix-eval-jobs --command scripts/github-matrix.py checks legacyPackages)" >> "$GITHUB_OUTPUT"
33
34
34
35
nix-build-aarch64-linux :
35
36
name : ${{ matrix.name }} (aarch64-linux)
44
45
- name : Checkout Repo
45
46
uses : actions/checkout@v4
46
47
- name : Build Nix Package
47
- uses : ./.github/actions/nix-build-setup
48
+ uses : ./.github/actions/nix-build-self-hosted
48
49
with :
49
50
attr : ${{ matrix.attr }}
50
51
61
62
- name : Checkout Repo
62
63
uses : actions/checkout@v4
63
64
- name : Build Nix Package
64
- uses : ./.github/actions/nix-build-setup
65
+ uses : ./.github/actions/nix-build-self-hosted
65
66
with :
66
67
attr : ${{ matrix.attr }}
67
68
@@ -79,14 +80,14 @@ jobs:
79
80
# - name: Checkout Repo
80
81
# uses: actions/checkout@v4
81
82
# - name: Build Nix Package
82
- # uses: ./.github/actions/nix-build-setup
83
+ # uses: ./.github/actions/nix-build-self-hosted
83
84
# with:
84
85
# attr: ${{ matrix.attr }}
85
86
86
87
run-testinfra :
87
88
needs : [nix-build-aarch64-linux, nix-build-aarch64-darwin] # , nix-build-x86_64-linux]
88
89
if : |
89
- !cancelled() &&
90
+ !cancelled() &&
90
91
(needs.nix-build-aarch64-linux.result == 'skipped' || needs.nix-build-aarch64-linux.result == 'success') &&
91
92
(needs.nix-build-aarch64-darwin.result == 'skipped' || needs.nix-build-aarch64-darwin.result == 'success')
92
93
uses : ./.github/workflows/testinfra-ami-build.yml
96
97
run-tests :
97
98
needs : [nix-build-aarch64-linux, nix-build-aarch64-darwin] # , nix-build-x86_64-linux]
98
99
if : |
99
- !cancelled() &&
100
+ !cancelled() &&
100
101
(needs.nix-build-aarch64-linux.result == 'skipped' || needs.nix-build-aarch64-linux.result == 'success') &&
101
102
(needs.nix-build-aarch64-darwin.result == 'skipped' || needs.nix-build-aarch64-darwin.result == 'success')
102
103
uses : ./.github/workflows/test.yml
0 commit comments