From 07892818a8df14a84080c2800da1d962f2462d02 Mon Sep 17 00:00:00 2001 From: DmitriyMusatkin Date: Fri, 28 Feb 2025 15:05:38 -0800 Subject: [PATCH 1/2] fix arm ci --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/release.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b54b5c0a..e2f8237bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,13 +62,13 @@ jobs: role-to-assume: ${{ env.CI_IOT_CONTAINERS }} aws-region: ${{ env.AWS_DEFAULT_REGION }} - name: Install qemu/docker - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + run: run: docker run --privileged --rm tonistiigi/binfmt --install all - name: Build ${{ env.PACKAGE_NAME }} run: | 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 ./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ matrix.image }} build -p ${{ env.PACKAGE_NAME }} raspberry: - runs-on: ubuntu-20.04 # latest + runs-on: ubuntu-24.04 # latest strategy: fail-fast: false matrix: @@ -84,7 +84,7 @@ jobs: aws-region: ${{ env.AWS_DEFAULT_REGION }} # set arm arch - name: Install qemu/docker - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + run: docker run --privileged --rm tonistiigi/binfmt --install linux/arm/v7 - name: Build ${{ env.PACKAGE_NAME }} run: | 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 @@ -644,7 +644,7 @@ jobs: # check that docs can still build check-docs: - runs-on: ubuntu-20.04 # latest + runs-on: ubuntu-22.04 # latest steps: - uses: actions/checkout@v2 with: @@ -677,7 +677,7 @@ jobs: uses: awslabs/aws-crt-builder/.github/actions/check-submodules@main check-codegen-edits: - runs-on: ubuntu-20.04 # latest + runs-on: ubuntu-22.04 # latest steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a46a68a5b..5855651e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ on: jobs: update-version: - runs-on: ubuntu-20.04 # latest + runs-on: ubuntu-22.04 # latest permissions: contents: write # allow push pull-requests: write # allow making PR From 74ee6e5892be2c3cd7e72977efaa71126309b180 Mon Sep 17 00:00:00 2001 From: DmitriyMusatkin Date: Fri, 28 Feb 2025 15:14:59 -0800 Subject: [PATCH 2/2] typo --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2f8237bb..3079dabea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: role-to-assume: ${{ env.CI_IOT_CONTAINERS }} aws-region: ${{ env.AWS_DEFAULT_REGION }} - name: Install qemu/docker - run: run: docker run --privileged --rm tonistiigi/binfmt --install all + run: docker run --privileged --rm tonistiigi/binfmt --install all - name: Build ${{ env.PACKAGE_NAME }} run: | 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