Skip to content

Lastest Stable Clang CI Job#825

Open
sbSteveK wants to merge 16 commits intomainfrom
latest-clang
Open

Lastest Stable Clang CI Job#825
sbSteveK wants to merge 16 commits intomainfrom
latest-clang

Conversation

@sbSteveK
Copy link
Contributor

@sbSteveK sbSteveK commented Feb 25, 2026

Add clang-latest using our latest version of ubuntu to test.
Related aws-crt-builder PR: awslabs/aws-crt-builder#343

Splits out slower ci jobs into its own workflow to allow faster retry of normal speed CI jobs that fail on flaky tests without cancelling the longer running jobs.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sbSteveK sbSteveK marked this pull request as ready for review February 25, 2026 17:14
Copy link
Contributor

@bretambrose bretambrose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only works for ubuntu. Should we come up with something more generic?

Also why do this here (where only aws-crt-cpp can use it) and not with the builder where all the C and C++ repos could use it?

Also why qualified and not stable?

Comment on lines +51 to +53
# Raspberry Pi builds that require QEMU emulation
raspberry:
runs-on: ubuntu-24.04 # latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can move raspberry pi test to run on arm ubuntu instance. It's armv8 so that you don't need qemu.
like what we did for python here

Also the alpine-3.16-arm64 can benefit from the same setting.

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 }}
./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-ubuntu-20-x64 build -p ${{ env.PACKAGE_NAME }} --compiler=clang-latest --cmake-extra=-DUSE_OPENSSL=ON
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not add the latest to the same metrics above?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ubuntu-18-x64 can only find up to clang 19 while ubuntu-20-x64 finds clang 21. We can probably add clang-latest to ubuntu-18-x64 as well but I think we're moving away from testing middle versions beyond min and latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants