Skip to content

Commit bad0516

Browse files
committed
Test using clang-cl for Windows/x86-64
1 parent c13cd41 commit bad0516

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/windows-alt.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)