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