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