From: Nathan Moinvaziri Date: Mon, 15 Feb 2021 02:11:25 +0000 (-0800) Subject: Limit number of parallel test jobs to prevent wine connection timeout errors. X-Git-Tag: 2.0.0~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab6590bfb6e61ce6470def44f58907e78ae3240b;p=thirdparty%2Fzlib-ng.git Limit number of parallel test jobs to prevent wine connection timeout errors. --- diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 11c77cac0..c9c984d23 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -231,6 +231,8 @@ jobs: cmake-args: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-mingw-i686.cmake packages: wine32 gcc-mingw-w64 # Codecov disabled due to gcov locking issue error + # Limit parallel test jobs to prevent wine errors + parallels-jobs: 3 - name: Ubuntu MinGW x86_64 os: ubuntu-latest @@ -238,6 +240,8 @@ jobs: cmake-args: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-mingw-x86_64.cmake packages: wine-stable gcc-mingw-w64 codecov: ubuntu_gcc_mingw_x86_64 + # Limit parallel test jobs to prevent wine errors + parallels-jobs: 3 - name: Ubuntu Clang os: ubuntu-latest @@ -395,7 +399,7 @@ jobs: if: runner.os != 'Windows' || contains(matrix.name, 'ARM') == false run: | cd ${{ matrix.build-dir || '.' }} - ctest --verbose -C Release --output-on-failure --max-width 120 -j 6 + ctest --verbose -C Release --output-on-failure --max-width 120 -j ${{ matrix.parallels-jobs || '6' }} env: ASAN_OPTIONS: ${{ matrix.asan-options || 'verbosity=0' }}:abort_on_error=1 MSAN_OPTIONS: ${{ matrix.msan-options || 'verbosity=0' }}:abort_on_error=1