Skip to content

Commit

Permalink
Test both FIPS and non-FIPS
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Nov 21, 2024
1 parent bd7ae91 commit 5f85ea0
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/misc-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 5f85ea0

Please sign in to comment.