From 69998fca932397232d5cc7bbfb8fc4c54374798d Mon Sep 17 00:00:00 2001 From: Maxim Samsonov Date: Sat, 18 Nov 2023 11:12:42 +0300 Subject: [PATCH] Removed parallel execution for cli_tests on Windows --- .github/workflows/windows-native.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows-native.yml b/.github/workflows/windows-native.yml index e196b7f2b..06a10f921 100644 --- a/.github/workflows/windows-native.yml +++ b/.github/workflows/windows-native.yml @@ -176,17 +176,21 @@ jobs: - name: Test shell: bash # Sometimes running cli_tests in parallel causes instability [???] - # ctest --test-dir build -R cli_tests -C Debug --output-on-failure - # ctest --parallel ${{ env.CORES }} --test-dir build -R rnp_tests -C Debug --output-on-failure + # ctest --test-dir build -R cli_tests -C Release --output-on-failure + # ctest --parallel ${{ env.CORES }} --test-dir build -R rnp_tests -C Release --output-on-failure # ctest --parallel ${{ env.CORES }} --test-dir build -C Release --output-on-failure run: | export PATH=${{ env.VCPKG_DIR_U }}/installed/${{ matrix.arch.triplet }}/bin:$PATH mkdir -p "build/Testing/Temporary" cp "cmake/CTestCostData.txt" "build/Testing/Temporary" - ctest --parallel ${{ env.CORES }} --test-dir build -C Release --output-on-failure + ctest --test-dir build -R cli_tests -C Release --output-on-failure + ctest --parallel ${{ env.CORES }} --test-dir build -R rnp_tests -C Release --output-on-failure # Local build hints: # cmd /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat" # cmake -B build -G "Visual Studio 16 2019" -A x64 -T v142 -DENABLE_SANITIZERS=OFF ^ # -DBUILD_SHARED_LIBS=OFF -DCRYPTO_BACKEND=botan -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake . # set PATH=C:\vcpkg\installed\x64-windows\bin;%PATH% +# cmake --build build --parallel 4 --config Release +# ctest --test-dir build -R cli_tests -C Release --output-on-failure +# ctest --parallel ${{ env.CORES }} --test-dir build -R rnp_tests -C Release --output-on-failure