Skip to content

Commit ba27ca5

Browse files
Fix Arm based ci steps (#713)
1 parent c776ab5 commit ba27ca5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ jobs:
3838
with:
3939
role-to-assume: ${{ env.CRT_CI_ROLE }}
4040
aws-region: ${{ env.AWS_DEFAULT_REGION }}
41-
- name: Install qemu/docker
42-
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
4341
- name: Build ${{ env.PACKAGE_NAME }}
4442
run: |
4543
aws s3 cp s3://aws-crt-test-stuff/ci/${{ env.BUILDER_VERSION }}/linux-container-ci.sh ./linux-container-ci.sh && chmod a+x ./linux-container-ci.sh
@@ -49,7 +47,7 @@ jobs:
4947
# that are up-to-date (AL2) or don't provide OpenSSL development packages that is found in CMake (alpine)
5048
# or are not able to connect on the socket even with the correct setup (manylinux2014)
5149
linux-compat:
52-
runs-on: ubuntu-22.04 # temporarily downgrade to old ubuntu until https://github.com/actions/runner-images/issues/11471 resolves
50+
runs-on: ubuntu-24.04
5351
strategy:
5452
fail-fast: false
5553
matrix:
@@ -68,7 +66,7 @@ jobs:
6866
role-to-assume: ${{ env.CRT_CI_ROLE }}
6967
aws-region: ${{ env.AWS_DEFAULT_REGION }}
7068
- name: Install qemu/docker
71-
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
69+
run: docker run --privileged --rm tonistiigi/binfmt --install all
7270
- name: Build ${{ env.PACKAGE_NAME }}
7371
run: |
7472
aws s3 cp s3://aws-crt-test-stuff/ci/${{ env.BUILDER_VERSION }}/linux-container-ci.sh ./linux-container-ci.sh && chmod a+x ./linux-container-ci.sh
@@ -121,7 +119,7 @@ jobs:
121119
aws-region: ${{ env.AWS_DEFAULT_REGION }}
122120
# set arm arch
123121
- name: Install qemu/docker
124-
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
122+
run: docker run --privileged --rm tonistiigi/binfmt --install linux/arm/v7
125123

126124
- name: Build ${{ env.PACKAGE_NAME }}
127125
run: |

0 commit comments

Comments
 (0)