-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into s2n-bignum-alt-func-handling
- Loading branch information
Showing
22 changed files
with
520 additions
and
149 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 |
---|---|---|
|
@@ -32,19 +32,25 @@ jobs: | |
macOS-x86: | ||
if: github.repository_owner == 'aws' | ||
needs: [sanity-test-run] | ||
runs-on: macos-latest | ||
runs-on: macos-latest-large | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: | | ||
brew install ninja golang | ||
- name: Build ${{ env.PACKAGE_NAME }} | ||
run: | | ||
./tests/ci/run_posix_tests.sh | ||
macOS-x86-FIPS: | ||
if: github.repository_owner == 'aws' | ||
needs: [sanity-test-run] | ||
runs-on: macos-latest | ||
runs-on: macos-latest-large | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: | | ||
brew install ninja golang | ||
- name: Build ${{ env.PACKAGE_NAME }} with FIPS mode | ||
run: | | ||
./tests/ci/run_fips_tests.sh | ||
|
@@ -136,6 +142,104 @@ 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: | ||
if: github.repository_owner == 'aws' | ||
needs: [sanity-test-run] | ||
strategy: | ||
matrix: | ||
gccversion: | ||
- "9" | ||
- "10" | ||
- "11" | ||
- "12" | ||
- "13" | ||
os: | ||
- "ubuntu-latest" | ||
fips: | ||
- "0" | ||
- "1" | ||
runs-on: ${{ matrix.os }} | ||
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 | ||
|
||
clang-13-15-sanity: | ||
if: github.repository_owner == 'aws' | ||
needs: [sanity-test-run] | ||
strategy: | ||
matrix: | ||
gccversion: | ||
- "13" | ||
- "14" | ||
- "15" | ||
os: | ||
- "ubuntu-latest" | ||
fips: | ||
- "0" | ||
- "1" | ||
runs-on: ${{ matrix.os }} | ||
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-10-12-sanity: | ||
if: github.repository_owner == 'aws' | ||
needs: [sanity-test-run] | ||
strategy: | ||
matrix: | ||
gccversion: | ||
- "10" | ||
- "11" | ||
- "12" | ||
os: | ||
- "ubuntu-20.04" | ||
fips: | ||
- "0" | ||
- "1" | ||
runs-on: ${{ matrix.os }} | ||
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 | ||
|
||
# TODO: Investigate sudden hanging tests and failures in GHA runners (P114059413) | ||
# MSVC-SDE-32-bit: | ||
# needs: [sanity-test-run] | ||
|
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
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
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
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
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
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
Oops, something went wrong.