@@ -169,46 +169,35 @@ jobs:
169169 fail-fast : false
170170 matrix :
171171 compiler :
172- # Note: 18.04 image is no longer supported by gh and 20.04 image does
173- # not have some of the old compilers we want. disable those for now
174- # until we figure out a way to test them.
175- - clang-6
176- # - clang-7 # this one actually has to be installed by the script
177- # - clang-8
178- - clang-9
179- - clang-10
180- - clang-11
181- # - gcc-4.8
182- # - gcc-5
183- # - gcc-6
184- - gcc-7
185- - gcc-8
172+ # Note: The sanity checks don't necessarily have to check all supported compilers. The actual packages should
173+ # cover this job.
174+ # So, the versions of the compilers listed here are dictated by whatever is supported on GitHub runners.
175+ # The current oldest supported image is Ubuntu 22.04. When GitHub obsoletes it, this list should be updated.
176+ - clang-13
177+ - clang-14
178+ - clang-15
179+ - clang-16
180+ - clang-17
181+ - clang-18
186182 - gcc-9
187183 - gcc-10
188184 - gcc-11
185+ - gcc-12
186+ - gcc-13
189187 needs : [package]
190188 runs-on : ubuntu-22.04
191189 steps :
192- - uses : aws-actions/configure-aws-credentials@v4
193- with :
194- role-to-assume : ${{ env.CRT_CI_ROLE }}
195- aws-region : ${{ env.AWS_DEFAULT_REGION }}
196-
197190 - name : Checkout Source
198191 uses : actions/checkout@v4
199192
200- - name : Get release tag
201- uses : ./.github/actions/release-tag
202- id : tag
193+ - name : Install builder
194+ uses : actions/download-artifact@v4
203195 with :
204- output : tag
196+ name : builder
197+ path : .
205198
206199 - name : Build aws-c-common
207- run : |
208- aws ecr get-login-password --region us-east-1 | docker login ${{ secrets.AWS_ECR_REPO }} -u AWS --password-stdin
209- export DOCKER_IMAGE=${{ secrets.AWS_ECR_REPO }}/aws-crt-ubuntu-20-x64:${{ steps.tag.outputs.release_tag }}
210- docker pull $DOCKER_IMAGE
211- docker run --env GITHUB_REF $DOCKER_IMAGE build --project aws-c-common --compiler=${{ matrix.compiler }} run_tests=false
200+ run : python3 builder.pyz build --project aws-c-common --compiler=${{ matrix.compiler }} run_tests=false
212201
213202 # Make sure linux compilers + stdlibs are installing properly
214203 std-compat :
@@ -217,7 +206,7 @@ jobs:
217206 strategy :
218207 fail-fast : false
219208 matrix :
220- compiler : [gcc-8 , clang-9 ]
209+ compiler : [gcc-9 , clang-13 ]
221210 cxx-std : ["11", "14", "17", "20"]
222211 steps :
223212 - uses : aws-actions/configure-aws-credentials@v4
0 commit comments