From 8155c6c143db7552372e9cbde3d92e1262b42008 Mon Sep 17 00:00:00 2001 From: Krish Date: Mon, 22 Jun 2026 03:20:43 +0000 Subject: [PATCH 1/2] add workflow using builder --- .github/workflows/check-abi.yml | 42 +++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/check-abi.yml diff --git a/.github/workflows/check-abi.yml b/.github/workflows/check-abi.yml new file mode 100644 index 000000000..3e7642897 --- /dev/null +++ b/.github/workflows/check-abi.yml @@ -0,0 +1,42 @@ +name: Check ABI compliance + +on: + pull_request: + types: [opened, synchronize, reopened] + +concurrency: + group: check-abi-${{ github.event.pull_request.number }} + cancel-in-progress: true + +env: + PACKAGE_NAME: aws-c-http + CRT_CI_ROLE: ${{ secrets.CRT_CI_ROLE_ARN }} + AWS_DEFAULT_REGION: us-east-1 + +permissions: + id-token: write + contents: read + +jobs: + check-abi: + name: check-abi + runs-on: ubuntu-24.04 + steps: + - uses: aws-actions/configure-aws-credentials@v4 + with: + role-to-assume: ${{ env.CRT_CI_ROLE }} + aws-region: ${{ env.AWS_DEFAULT_REGION }} + + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Check ABI + # Pointing at the fork branch while the builder change is in review. + # Switch to awslabs/aws-crt-builder/.github/actions/check-abi@main once merged. + uses: azkrishpy/aws-crt-builder/.github/actions/check-abi@abi-check + with: + lib-name: ${{ env.PACKAGE_NAME }} + builder-version: abi-check + builder-source: channels From dd63fec371bb490c0d8c4fb72d2ba8c54f4a1120 Mon Sep 17 00:00:00 2001 From: Krish Date: Mon, 22 Jun 2026 04:05:29 +0000 Subject: [PATCH 2/2] fix origin --- .github/workflows/check-abi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-abi.yml b/.github/workflows/check-abi.yml index 3e7642897..bab393e6a 100644 --- a/.github/workflows/check-abi.yml +++ b/.github/workflows/check-abi.yml @@ -35,7 +35,7 @@ jobs: - name: Check ABI # Pointing at the fork branch while the builder change is in review. # Switch to awslabs/aws-crt-builder/.github/actions/check-abi@main once merged. - uses: azkrishpy/aws-crt-builder/.github/actions/check-abi@abi-check + uses: awslabs/aws-crt-builder/.github/actions/check-abi@abi-check with: lib-name: ${{ env.PACKAGE_NAME }} builder-version: abi-check