diff --git a/.github/workflows/main_ci.yml b/.github/workflows/main_ci.yml index afbf93a4..b472787c 100644 --- a/.github/workflows/main_ci.yml +++ b/.github/workflows/main_ci.yml @@ -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 }}" @@ -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