-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Description of changes: * Fixes previous CI failures due to gcc-13 not being present. * Updates CI compilation "sanity test" to included compilers on Ubuntu 24.04 * Cherry-picked recent [commit from BoringSSL](google/boringssl@c701903) that fixes gcc-14 build error. * Add CI cross-compilation test for `loongaarch64`. ### Callout * The gcc-14 FIPS build failure is related to the "delocator" and is still being researched. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license. --------- Co-authored-by: David Benjamin <[email protected]>
- Loading branch information
Showing
3 changed files
with
123 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -168,24 +168,80 @@ jobs: | |
echo ${env:SDEROOT} | ||
.\tests\ci\run_windows_tests.bat "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 true | ||
gcc-9-13-sanity: | ||
gcc-ubuntu-2004-sanity: | ||
if: github.repository_owner == 'aws' | ||
needs: [sanity-test-run] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
gccversion: | ||
- "10" | ||
fips: | ||
- "0" | ||
- "1" | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: '>=1.18' | ||
- name: Setup CMake | ||
uses: threeal/[email protected] | ||
with: | ||
generator: Ninja | ||
c-compiler: gcc-${{ matrix.gccversion }} | ||
cxx-compiler: g++-${{ matrix.gccversion }} | ||
options: FIPS=${{ matrix.fips }} CMAKE_BUILD_TYPE=Release | ||
- name: Build Project | ||
run: cmake --build ./build --target all | ||
- name: Run tests | ||
run: cmake --build ./build --target run_tests | ||
|
||
gcc-ubuntu-2204-sanity: | ||
if: github.repository_owner == 'aws' | ||
needs: [sanity-test-run] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
gccversion: | ||
- "9" | ||
- "10" | ||
- "11" | ||
- "12" | ||
fips: | ||
- "0" | ||
- "1" | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: '>=1.18' | ||
- name: Setup CMake | ||
uses: threeal/[email protected] | ||
with: | ||
generator: Ninja | ||
c-compiler: gcc-${{ matrix.gccversion }} | ||
cxx-compiler: g++-${{ matrix.gccversion }} | ||
options: FIPS=${{ matrix.fips }} CMAKE_BUILD_TYPE=Release | ||
- name: Build Project | ||
run: cmake --build ./build --target all | ||
- name: Run tests | ||
run: cmake --build ./build --target run_tests | ||
|
||
gcc-ubuntu-2404-sanity: | ||
if: github.repository_owner == 'aws' | ||
needs: [ sanity-test-run ] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
gccversion: | ||
- "12" | ||
- "13" | ||
os: | ||
- "ubuntu-latest" | ||
- "14" | ||
fips: | ||
- "0" | ||
- "1" | ||
runs-on: ${{ matrix.os }} | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
|
@@ -203,7 +259,38 @@ jobs: | |
- name: Run tests | ||
run: cmake --build ./build --target run_tests | ||
|
||
clang-13-15-sanity: | ||
clang-ubuntu-2004-sanity: | ||
if: github.repository_owner == 'aws' | ||
needs: [sanity-test-run] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
gccversion: | ||
- "10" | ||
- "11" | ||
- "12" | ||
fips: | ||
- "0" | ||
- "1" | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: '>=1.18' | ||
- name: Setup CMake | ||
uses: threeal/[email protected] | ||
with: | ||
generator: Ninja | ||
c-compiler: clang-${{ matrix.gccversion }} | ||
cxx-compiler: clang++-${{ matrix.gccversion }} | ||
options: FIPS=${{ matrix.fips }} CMAKE_BUILD_TYPE=Release | ||
- name: Build Project | ||
run: cmake --build ./build --target all | ||
- name: Run tests | ||
run: cmake --build ./build --target run_tests | ||
|
||
clang-ubuntu-2204-sanity: | ||
if: github.repository_owner == 'aws' | ||
needs: [sanity-test-run] | ||
strategy: | ||
|
@@ -213,12 +300,10 @@ jobs: | |
- "13" | ||
- "14" | ||
- "15" | ||
os: | ||
- "ubuntu-latest" | ||
fips: | ||
- "0" | ||
- "1" | ||
runs-on: ${{ matrix.os }} | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
|
@@ -236,22 +321,20 @@ jobs: | |
- name: Run tests | ||
run: cmake --build ./build --target run_tests | ||
|
||
clang-10-12-sanity: | ||
clang-ubuntu-2404-sanity: | ||
if: github.repository_owner == 'aws' | ||
needs: [sanity-test-run] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
gccversion: | ||
- "10" | ||
- "11" | ||
- "12" | ||
os: | ||
- "ubuntu-20.04" | ||
- "16" | ||
- "17" | ||
- "18" | ||
fips: | ||
- "0" | ||
- "1" | ||
runs-on: ${{ matrix.os }} | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters