File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,19 @@ jobs:
166166 - if : ${{ matrix.target == 'x64' }}
167167 name : Run tests
168168 run : cmake --build ./build --target run_tests
169+ - if : ${{ matrix.target == 'x64' }}
170+ name : Setup Go (for FIPS)
171+ uses : actions/setup-go@v4
172+ with :
173+ go-version : ' >=1.20'
174+ - if : ${{ matrix.target == 'x64' }}
175+ name : Build and test with FIPS
176+ run : |
177+ cmake -GNinja -B ./build-fips -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_BUILD_TYPE=Release -DFIPS=1 -DBUILD_SHARED_LIBS=1
178+ cmake --build ./build-fips
179+ $buildFips = (Resolve-Path ./build-fips).Path
180+ $env:PATH = "$buildFips;$buildFips\crypto;$buildFips\ssl;$env:PATH"
181+ cmake --build ./build-fips --target run_tests
169182 cross-mingw :
170183 if : github.repository_owner == 'aws'
171184 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments