diff --git a/.github/workflows/misc-tests.yaml b/.github/workflows/misc-tests.yaml index 790b3bd542..d549de49d4 100644 --- a/.github/workflows/misc-tests.yaml +++ b/.github/workflows/misc-tests.yaml @@ -84,9 +84,6 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, windows-latest, macos-14-xlarge ] - fips: - - "0" - - "1" steps: - if: ${{ matrix.os == 'windows-latest' }} name: Install NASM @@ -111,3 +108,14 @@ jobs: run: cmake --build "path has spaces/build" --target all - name: Run tests run: cmake --build "path has spaces/build" --target run_tests + - name: Setup CMake FIPS + uses: threeal/cmake-action@v1.3.0 + with: + source-dir: 'path has spaces/aws-lc' + build-dir: 'path has spaces/build' + generator: Ninja + options: "FIPS=1" "BUILD_SHARED_LIBS=${{ (matrix.os == 'ubuntu-latest' && '0') || '1' }}" + - name: Build Project + run: cmake --build "path has spaces/build" --target all + - name: Run tests + run: cmake --build "path has spaces/build" --target run_tests