diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0f31fbe1..086fef273 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,9 +6,9 @@ on: - 'main' env: - BUILDER_VERSION: v0.9.72 + BUILDER_VERSION: ubuntu-arm BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net - BUILDER_SOURCE: releases + BUILDER_SOURCE: channels PACKAGE_NAME: aws-c-common LINUX_BASE_IMAGE: ubuntu-18-x64 RUN: ${{ github.run_id }}-${{ github.run_number }} @@ -305,12 +305,25 @@ jobs: chmod a+x builder ./builder build -p ${{ env.PACKAGE_NAME }} + linux-arm64: + runs-on: ubuntu-24.04-arm # latest + steps: + - uses: aws-actions/configure-aws-credentials@v4 + with: + role-to-assume: ${{ env.CRT_CI_ROLE }} + aws-region: ${{ env.AWS_DEFAULT_REGION }} + - name: Build ${{ env.PACKAGE_NAME }} + consumers + run: | + python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')" + chmod a+x builder + ./builder build -p ${{ env.PACKAGE_NAME }} + cross_compile: name: Cross Compile ${{matrix.arch}} runs-on: ubuntu-24.04 # latest strategy: matrix: - arch: [linux-armv6, linux-armv7, linux-arm64, android-armv7] + arch: [linux-armv6, linux-armv7, android-armv7] steps: - uses: aws-actions/configure-aws-credentials@v4 with: