Skip to content

Commit 825fe89

Browse files
committed
CI: test AWS-LC static and BoringSSL builds.
Use latest tags instead of main for both libraries.
1 parent f24f4b7 commit 825fe89

File tree

1 file changed

+31
-5
lines changed

1 file changed

+31
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
CARGO_TERM_COLOR: 'always'
1111
RUST_BACKTRACE: '1'
1212
AWSLC_SOURCE_DIR: ${{ github.workspace }}/aws-lc
13+
BORINGSSL_SOURCE_DIR: ${{ github.workspace }}/boringssl
1314
NGINX_SOURCE_DIR: nginx
1415

1516
jobs:
@@ -44,6 +45,16 @@ jobs:
4445
- debug
4546
- debug-static
4647
- release
48+
- aws-lc
49+
- aws-lc-static
50+
- boringssl
51+
- boringssl-static
52+
53+
exclude: # an excluded configuration only has to be a partial match
54+
- nginx-ref: stable-1.28 # AWS-LC is not supported in stable-1.28
55+
build: aws-lc
56+
- nginx-ref: stable-1.28 # AWS-LC is not supported in stable-1.28
57+
build: aws-lc-static
4758

4859
include:
4960
- runner: ubuntu
@@ -56,11 +67,6 @@ jobs:
5667
nginx-ref: stable-1.28
5768
build: debug
5869

59-
- runner: ubuntu
60-
rust-version: stable
61-
nginx-ref: master # AWS-LC is not supported in stable-1.28
62-
build: aws-lc
63-
6470
- runner: macos
6571
rust-version: stable
6672
nginx-ref: stable-1.28
@@ -87,12 +93,32 @@ jobs:
8793
repository: 'nginx/nginx-tests'
8894
path: 'nginx/tests'
8995

96+
- uses: oprypin/find-latest-tag@dd2729fe78b0bb55523ae2b2a310c6773a652bd1 # v1.1.2
97+
id: aws-lc-latest
98+
if: startsWith(matrix.build, 'aws-lc')
99+
with:
100+
repository: 'aws/aws-lc'
101+
102+
- uses: oprypin/find-latest-tag@dd2729fe78b0bb55523ae2b2a310c6773a652bd1 # v1.1.2
103+
id: boringssl-latest
104+
if: startsWith(matrix.build, 'boringssl')
105+
with:
106+
repository: 'google/boringssl'
107+
90108
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
91109
if: startsWith(matrix.build, 'aws-lc')
92110
with:
111+
ref: ${{ steps.aws-lc-latest.outputs.tag }}
93112
repository: 'aws/aws-lc'
94113
path: ${{ env.AWSLC_SOURCE_DIR }}
95114

115+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
116+
if: startsWith(matrix.build, 'boringssl')
117+
with:
118+
ref: ${{ steps.boringssl-latest.outputs.tag }}
119+
repository: 'google/boringssl'
120+
path: ${{ env.BORINGSSL_SOURCE_DIR }}
121+
96122
- uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
97123
with:
98124
toolchain: ${{ matrix.rust-version }}

0 commit comments

Comments
 (0)