Skip to content

Commit

Permalink
Add new ubuntu-24.04-arm runner to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm committed Jan 31, 2025
1 parent bfa6c85 commit ca8b0e1
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ca8b0e1

Please sign in to comment.