@@ -147,43 +147,42 @@ jobs:
147
147
composer update --ignore-platform-reqs;
148
148
composer ${{ matrix.test }}'
149
149
150
- # TODO: Re-enable once aarch64 is fixed.
151
- # linux-aarch64:
152
- # name: Linux aarch64
153
- # runs-on: ubuntu-22-4core
154
- # steps:
155
- # - name: Checkout pending changes
156
- # uses: protocolbuffers/protobuf-ci/checkout@v4
157
- # with:
158
- # ref: ${{ inputs.safe-checkout }}
159
-
160
- # - name: Cross compile protoc for aarch64
161
- # id: cross-compile
162
- # uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v4
163
- # with:
164
- # image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:7.1.2-bec4e87effd62da1d4f9a13d377e37bcb80376c9
165
- # credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
166
- # architecture: linux-aarch64
167
-
168
- # - name: Setup composer
169
- # uses: protocolbuffers/protobuf-ci/composer-setup@v4
170
- # with:
171
- # cache-prefix: php-8.1
172
- # directory: php
173
-
174
- # - name: Run tests
175
- # uses: protocolbuffers/protobuf-ci/docker@v4
176
- # with:
177
- # image: us-docker.pkg.dev/protobuf-build/containers/test/linux/php-aarch64@sha256:77ff9fdec867bbfb290ee0b10d8b7a3e5e434155daa5ec93de7341c7592b858d
178
- # platform: linux/arm64
179
- # credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
180
- # extra-flags: -e COMPOSER_HOME=/workspace/composer-cache -e PROTOC=/workspace/${{ steps.cross-compile.outputs.protoc }}
181
- # command: >-
182
- # -cex '
183
- # cd php;
184
- # composer update --ignore-platform-reqs;
185
- # composer test;
186
- # composer test_c'
150
+ linux-aarch64 :
151
+ name : Linux aarch64
152
+ runs-on : ubuntu-22-4core
153
+ steps :
154
+ - name : Checkout pending changes
155
+ uses : protocolbuffers/protobuf-ci/checkout@v4
156
+ with :
157
+ ref : ${{ inputs.safe-checkout }}
158
+
159
+ - name : Cross compile protoc for aarch64
160
+ id : cross-compile
161
+ uses : protocolbuffers/protobuf-ci/cross-compile-protoc@v4
162
+ with :
163
+ image : us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:7.1.2-bec4e87effd62da1d4f9a13d377e37bcb80376c9
164
+ credentials : ${{ secrets.GAR_SERVICE_ACCOUNT }}
165
+ architecture : linux-aarch64
166
+
167
+ - name : Setup composer
168
+ uses : protocolbuffers/protobuf-ci/composer-setup@v4
169
+ with :
170
+ cache-prefix : php-8.1
171
+ directory : php
172
+
173
+ - name : Run tests
174
+ uses : protocolbuffers/protobuf-ci/docker@v4
175
+ with :
176
+ image : us-docker.pkg.dev/protobuf-build/containers/test/linux/php-aarch64@sha256:77ff9fdec867bbfb290ee0b10d8b7a3e5e434155daa5ec93de7341c7592b858d
177
+ platform : linux/arm64
178
+ credentials : ${{ secrets.GAR_SERVICE_ACCOUNT }}
179
+ extra-flags : -e COMPOSER_HOME=/workspace/composer-cache -e PROTOC=/workspace/${{ steps.cross-compile.outputs.protoc }}
180
+ command : >-
181
+ -cex '
182
+ cd php;
183
+ composer update --ignore-platform-reqs;
184
+ composer test;
185
+ composer test_c'
187
186
188
187
macos :
189
188
strategy :
0 commit comments