37
37
fail-fast : false
38
38
matrix :
39
39
os :
40
- - " macos-14-large"
41
- - " macos-13-large"
40
+ - " macos-13"
42
41
steps :
43
42
- uses : actions/checkout@v3
44
43
- uses : actions/setup-go@v4
56
55
fail-fast : false
57
56
matrix :
58
57
os :
59
- - " macos-14-large"
60
- - " macos-13-large"
58
+ - " macos-13"
61
59
steps :
62
60
- uses : actions/checkout@v3
63
61
- uses : actions/setup-go@v4
75
73
fail-fast : false
76
74
matrix :
77
75
os :
78
- - " macos-14-xlarge "
79
- - " macos-13-xlarge "
76
+ - " macos-14"
77
+ - " macos-15 "
80
78
steps :
81
79
- uses : actions/checkout@v3
82
80
- uses : actions/setup-go@v4
94
92
fail-fast : false
95
93
matrix :
96
94
os :
97
- - " macos-14-xlarge "
98
- - " macos-13-xlarge "
95
+ - " macos-14"
96
+ - " macos-15 "
99
97
steps :
100
98
- uses : actions/checkout@v3
101
99
- uses : actions/setup-go@v4
@@ -115,8 +113,8 @@ jobs:
115
113
uses : actions/checkout@v3
116
114
- name : Build Windows Dependencies
117
115
run : |
118
- choco install ninja --version 1.9.0.20190208 -y &&
119
- choco install nasm --version 2.14.02 - y
116
+ choco install ninja -y &&
117
+ choco install nasm -y
120
118
- name : Run Windows Tests on MSVC-2019
121
119
run : |
122
120
.\tests\ci\run_windows_tests.bat "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
@@ -130,8 +128,8 @@ jobs:
130
128
uses : actions/checkout@v3
131
129
- name : Build Windows Dependencies
132
130
run : |
133
- choco install ninja --version 1.9.0.20190208 - y &&
134
- choco install nasm --version 2.14.02 - y
131
+ choco install ninja -y &&
132
+ choco install nasm -y
135
133
- name : Run Windows Tests on MSVC-2022
136
134
run : |
137
135
.\tests\ci\run_windows_tests.bat "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
@@ -148,8 +146,8 @@ jobs:
148
146
149
147
- name : Build Windows Dependencies
150
148
run : |
151
- choco install ninja --version 1.9.0.20190208 - y &&
152
- choco install nasm --version 2.14.02 - y
149
+ choco install ninja -y &&
150
+ choco install nasm -y
153
151
154
152
- name : Install SDE simulator
155
153
run : |
@@ -177,23 +175,80 @@ jobs:
177
175
fips :
178
176
- " 0"
179
177
- " 1"
180
- runs-on : ubuntu-20.04
178
+ runs-on : ubuntu-22.04
179
+ container :
180
+ image : ubuntu:20.04
181
181
steps :
182
- - uses : actions/checkout@v3
183
- - uses : actions/setup-go@v4
184
- with :
185
- go-version : ' >=1.18'
186
- - name : Setup CMake
187
-
188
- with :
189
- generator : Ninja
190
- c-compiler : gcc-${{ matrix.gccversion }}
191
- cxx-compiler : g++-${{ matrix.gccversion }}
192
- options : FIPS=${{ matrix.fips }} CMAKE_BUILD_TYPE=Release
182
+ - run : |
183
+ env DEBIAN_FRONTEND=noninteractive apt-get update
184
+ env DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential git curl cmake ninja-build \
185
+ gcc-${{ matrix.gccversion }} g++-${{ matrix.gccversion }}
186
+ - name : Install Newer Go Compiler
187
+ run : |
188
+ curl -L -o /tmp/go.tar.gz https://go.dev/dl/go1.24.2.linux-amd64.tar.gz
189
+ cat <<EOF >/tmp/go.tar.gz.sha256
190
+ 68097bd680839cbc9d464a0edce4f7c333975e27a90246890e9f1078c7e702ad /tmp/go.tar.gz
191
+ EOF
192
+ sha256sum -c /tmp/go.tar.gz.sha256
193
+ (cd /usr/local && tar xvf /tmp/go.tar.gz)
194
+ - name : Checkout
195
+ run : |
196
+ git config --global --add safe.directory '*'
197
+ git clone --recursive ${{ github.server_url }}/${{ github.repository }}.git .
198
+ git fetch origin ${{ github.sha }}
199
+ git checkout --recurse-submodules -b ci-job ${{ github.sha }}
193
200
- name : Build Project
194
- run : cmake --build ./build --target all
195
- - name : Run tests
196
- run : cmake --build ./build --target run_tests
201
+ run : |
202
+ env PATH="/usr/local/go/bin:${PATH}" \
203
+ CC=gcc-${{ matrix.gccversion }} CXX=g++-${{ matrix.gccversion }} \
204
+ cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DFIPS=${{ matrix.fips }} -GNinja
205
+ cmake --build build --target all
206
+ - name : Run Tests
207
+ run : |
208
+ cmake --build build --target run_tests
209
+
210
+ clang-ubuntu-2004-sanity :
211
+ if : github.repository_owner == 'aws'
212
+ needs : [sanity-test-run]
213
+ strategy :
214
+ fail-fast : false
215
+ matrix :
216
+ clangversion :
217
+ - " 10"
218
+ fips :
219
+ - " 0"
220
+ - " 1"
221
+ runs-on : ubuntu-22.04
222
+ container :
223
+ image : ubuntu:20.04
224
+ steps :
225
+ - run : |
226
+ env DEBIAN_FRONTEND=noninteractive apt-get update
227
+ env DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential git curl cmake ninja-build \
228
+ clang-${{ matrix.clangversion }} clang++-${{ matrix.clangversion }}
229
+ - name : Install Newer Go Compiler
230
+ run : |
231
+ curl -L -o /tmp/go.tar.gz https://go.dev/dl/go1.24.2.linux-amd64.tar.gz
232
+ cat <<EOF >/tmp/go.tar.gz.sha256
233
+ 68097bd680839cbc9d464a0edce4f7c333975e27a90246890e9f1078c7e702ad /tmp/go.tar.gz
234
+ EOF
235
+ sha256sum -c /tmp/go.tar.gz.sha256
236
+ (cd /usr/local && tar xvf /tmp/go.tar.gz)
237
+ - name : Checkout
238
+ run : |
239
+ git config --global --add safe.directory '*'
240
+ git clone --recursive ${{ github.server_url }}/${{ github.repository }}.git .
241
+ git fetch origin ${{ github.sha }}
242
+ git checkout --recurse-submodules -b ci-job ${{ github.sha }}
243
+ - name : Build Project
244
+ run : |
245
+ env PATH="/usr/local/go/bin:${PATH}" \
246
+ CC=clang-${{ matrix.clangversion }} CXX=clang++-${{ matrix.clangversion }} \
247
+ cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DFIPS=${{ matrix.fips }} -GNinja
248
+ cmake --build build --target all
249
+ - name : Run Tests
250
+ run : |
251
+ cmake --build build --target run_tests
197
252
198
253
gcc-ubuntu-2204-sanity :
199
254
if : github.repository_owner == 'aws'
@@ -302,44 +357,15 @@ jobs:
302
357
- name : Build SSL
303
358
run : cmake --build ./build --target ssl
304
359
305
- clang-ubuntu-2004 -sanity :
360
+ clang-ubuntu-2204 -sanity :
306
361
if : github.repository_owner == 'aws'
307
362
needs : [sanity-test-run]
308
363
strategy :
309
364
fail-fast : false
310
365
matrix :
311
366
clangversion :
312
- - " 10"
313
367
- " 11"
314
368
- " 12"
315
- fips :
316
- - " 0"
317
- - " 1"
318
- runs-on : ubuntu-20.04
319
- steps :
320
- - uses : actions/checkout@v3
321
- - uses : actions/setup-go@v4
322
- with :
323
- go-version : ' >=1.18'
324
- - name : Setup CMake
325
-
326
- with :
327
- generator : Ninja
328
- c-compiler : clang-${{ matrix.clangversion }}
329
- cxx-compiler : clang++-${{ matrix.clangversion }}
330
- options : FIPS=${{ matrix.fips }} CMAKE_BUILD_TYPE=Release
331
- - name : Build Project
332
- run : cmake --build ./build --target all
333
- - name : Run tests
334
- run : cmake --build ./build --target run_tests
335
-
336
- clang-ubuntu-2204-sanity :
337
- if : github.repository_owner == 'aws'
338
- needs : [sanity-test-run]
339
- strategy :
340
- fail-fast : false
341
- matrix :
342
- clangversion :
343
369
- " 13"
344
370
- " 14"
345
371
- " 15"
@@ -352,6 +378,11 @@ jobs:
352
378
- uses : actions/setup-go@v4
353
379
with :
354
380
go-version : ' >=1.18'
381
+ - name : Install Clang ${{ matrix.clangversion }}
382
+ if : ${{ matrix.clangversion == '11' || matrix.clangversion == '12' }}
383
+ run : |
384
+ env DEBIAN_FRONTEND=noninteractive sudo apt-get update
385
+ env DEBIAN_FRONTEND=noninteractive sudo apt-get install -y clang-${{ matrix.clangversion }}
355
386
- name : Setup CMake
356
387
357
388
with :
@@ -439,7 +470,7 @@ jobs:
439
470
steps :
440
471
- uses : actions/checkout@v3
441
472
- name : OpenBSD
442
- uses : cross-platform-actions/action@595d543e5d1aeb6d48c0a176965028afe56c7018
473
+ uses : cross-platform-actions/action@2d97d42e1972a17b045fd709a422f7e55a86230d
443
474
env :
444
475
AWS_LC_SSL_TEST_RUNNER_PEEK_ROUNDS : 5
445
476
AWS_LC_GO_TEST_TIMEOUT : 120m
@@ -566,14 +597,14 @@ jobs:
566
597
- ' x86-64'
567
598
- ' arm64'
568
599
version :
569
- - ' 13.3 '
570
- - ' 14.1 '
600
+ - ' 13.5 '
601
+ - ' 14.2 '
571
602
steps :
572
603
- uses : actions/checkout@v4
573
604
with :
574
605
submodules : ' recursive'
575
606
- name : Prepare VM
576
- uses : cross-platform-actions/action@v0.25.0
607
+ uses : cross-platform-actions/action@2d97d42e1972a17b045fd709a422f7e55a86230d
577
608
env :
578
609
AWS_LC_SSL_TEST_RUNNER_PEEK_ROUNDS : 5
579
610
AWS_LC_GO_TEST_TIMEOUT : 90m
0 commit comments