@@ -105,17 +105,36 @@ jobs:
105
105
set -Eeu
106
106
echo matrix="$(python scripts/github-matrix.py checks)" >> "$GITHUB_OUTPUT"
107
107
108
+ build-checks-aarch64-linux :
109
+ name : ${{matrix.postgresql_version}}.${{ matrix.name }} (aarch64-darwin)
110
+ needs : checks-matrix
111
+ runs-on : ${{ matrix.runs_on.group && matrix.runs_on || matrix.runs_on.labels }}
112
+ if : |
113
+ !cancelled() &&
114
+ ${{ fromJSON(needs.checks-matrix.outputs.matrix).aarch64_linux != null }}
115
+ strategy :
116
+ fail-fast : false
117
+ max-parallel : 5
118
+ matrix : ${{ fromJSON(needs.checks-matrix.outputs.matrix).aarch64_linux }}
119
+ steps :
120
+ - name : Checkout Repo
121
+ uses : actions/checkout@v4
122
+ - name : Build Nix Package
123
+ uses : ./.github/actions/nix-build-setup
124
+ with :
125
+ attr : ${{ matrix.attr }}
108
126
109
- build-checks :
110
- name : ${{ matrix.name }} ( ${{ matrix.system }})
111
- needs : [ checks-matrix]
127
+ build-checks-aarch64-darwin :
128
+ name : ${{matrix.postgresql_version}}. ${{ matrix.name }} (aarch64-darwin )
129
+ needs : checks-matrix
112
130
runs-on : ${{ matrix.runs_on.group && matrix.runs_on || matrix.runs_on.labels }}
113
131
if : |
114
132
!cancelled() &&
115
- (needs.checks-matrix.result == 'skipped' || needs.checks- matrix.result == 'success')
133
+ ${{ fromJSON (needs.checks-matrix.outputs. matrix).aarch64_darwin != null }}
116
134
strategy :
117
135
fail-fast : false
118
- matrix : ${{fromJSON(needs.checks-matrix.outputs.matrix)}}
136
+ max-parallel : 5
137
+ matrix : ${{ fromJSON(needs.checks-matrix.outputs.matrix).aarch64_darwin }}
119
138
steps :
120
139
- name : Checkout Repo
121
140
uses : actions/checkout@v4
@@ -124,9 +143,28 @@ jobs:
124
143
with :
125
144
attr : ${{ matrix.attr }}
126
145
146
+ # TODO
147
+ # build-checks-x86_64-linux:
148
+ # name: ${{matrix.postgresql_version}}.${{ matrix.name }} (x86_64-linux)
149
+ # needs: checks-matrix
150
+ # runs-on: ${{ matrix.runs_on.group && matrix.runs_on || matrix.runs_on.labels }}
151
+ # if: ${{ fromJSON(needs.checks-matrix.outputs.matrix).x86_64_linux != null }}
152
+ # strategy:
153
+ # fail-fast: false
154
+ # max-parallel: 5
155
+ # matrix: ${{ fromJSON(needs.checks-matrix.outputs.matrix).x86_64_linux }}
156
+ # steps:
157
+ # - name: Checkout Repo
158
+ # uses: actions/checkout@v4
159
+ # - name: Build Nix Package
160
+ # uses: ./.github/actions/nix-build-setup
161
+ # with:
162
+ # attr: ${{ matrix.attr }}
163
+
127
164
run-tests :
128
- needs : build-checks
165
+ needs : [ build-checks-aarch64-linux, build-checks-aarch64-darwin] # , build-checks-x86_64-linux]
129
166
if : |
130
167
!cancelled() &&
131
- (needs.build-checks.result == 'skipped' || needs.build-checks.result == 'success')
168
+ (needs.build-checks-aarch64-linux.result == 'skipped' || needs.build-checks-aarch64-linux.result == 'success') &&
169
+ (needs.build-checks-aarch64-darwin.result == 'skipped' || needs.build-checks-aarch64-darwin.result == 'success')
132
170
uses : ./.github/workflows/test.yml
0 commit comments