Skip to content

Commit f374f35

Browse files
committed
move clang-latest to its own workflow that uses ubuntu-20-x64
1 parent 4706566 commit f374f35

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI Clang Latest
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- 'main'
7+
- 'docs'
8+
9+
env:
10+
BUILDER_VERSION: latest-clang
11+
BUILDER_SOURCE: channels
12+
BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net
13+
PACKAGE_NAME: aws-crt-cpp
14+
LINUX_BASE_IMAGE: ubuntu-20-x64
15+
RUN: ${{ github.run_id }}-${{ github.run_number }}
16+
CRT_CI_ROLE: ${{ secrets.CRT_CI_ROLE_ARN }}
17+
AWS_DEFAULT_REGION: us-east-1
18+
19+
permissions:
20+
id-token: write # This is required for requesting the JWT
21+
22+
# cancel in-progress builds after a new commit
23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.ref }}
25+
cancel-in-progress: true
26+
27+
jobs:
28+
linux-clang-latest:
29+
runs-on: ubuntu-24.04 # latest
30+
steps:
31+
- uses: aws-actions/configure-aws-credentials@v4
32+
with:
33+
role-to-assume: ${{ env.CRT_CI_ROLE }}
34+
aws-region: ${{ env.AWS_DEFAULT_REGION }}
35+
- name: Build ${{ env.PACKAGE_NAME }}
36+
run: |
37+
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
38+
./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build -p ${{ env.PACKAGE_NAME }} --compiler=clang-latest --cmake-extra=-DUSE_OPENSSL=ON

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ jobs:
8383
- clang-12
8484
- clang-15
8585
- clang-17
86-
- clang-latest
8786
- gcc-4.8
8887
- gcc-5
8988
- gcc-6

0 commit comments

Comments
 (0)