Skip to content

Commit

Permalink
Manually expand test target
Browse files Browse the repository at this point in the history
  • Loading branch information
bifurcation committed Nov 3, 2023
1 parent e837e49 commit aee9d63
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ jobs:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
crypto: [openssl_1.1, openssl_3, boringssl]
include:
- os: windows-latest
ctest-target: RUN_TESTS
- os: ubuntu-latest
ctest-target: test
- os: macos-latest
ctest-target: test

env:
BUILD_DIR: "${RUNNER_TEMP}/build_${{ matrix.crypto }}"
Expand All @@ -65,9 +58,15 @@ jobs:
cmake -B "${{ env.BUILD_DIR }}" -DVCPKG_MANIFEST_DIR="${{ env.CRYPTO_DIR }}" -DTESTING=ON -DSANITIZERS=ON
cmake --build "${{ env.BUILD_DIR }}"
- name: Unit Test
- name: Unit Test (non-Windows)
if: matrix.os != "windows-latest"
run: |
cmake --build "${{ env.BUILD_DIR }}" --target "${{ matrix.ctest-target}}"
cmake --build "${{ env.BUILD_DIR }}" --target test
- name: Unit Test (Windows)
if: matrix.os != "windows-latest"
run: |
cmake --build "${{ env.BUILD_DIR }}" --target RUN_TESTS
interop-test:
if: github.event.pull_request.draft == false
Expand Down

0 comments on commit aee9d63

Please sign in to comment.