diff --git a/.github/workflows/awslc.yml b/.github/workflows/awslc.yml index 305ae210f0..479a720732 100644 --- a/.github/workflows/awslc.yml +++ b/.github/workflows/awslc.yml @@ -102,6 +102,7 @@ jobs: - run: make -C build V=1 test-ci name: 'run tests' + timeout-minutes: 15 cmake: name: awslc (cmake) diff --git a/.github/workflows/distcheck.yml b/.github/workflows/distcheck.yml index 90c144c54b..60307cc93f 100644 --- a/.github/workflows/distcheck.yml +++ b/.github/workflows/distcheck.yml @@ -22,7 +22,7 @@ permissions: {} jobs: maketgz-and-verify-in-tree: runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 15 steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 @@ -64,7 +64,7 @@ jobs: verify-out-of-tree-docs: runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 15 needs: maketgz-and-verify-in-tree steps: - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 @@ -87,7 +87,7 @@ jobs: verify-out-of-tree-autotools-debug: runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 15 needs: maketgz-and-verify-in-tree steps: - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 @@ -108,7 +108,7 @@ jobs: verify-out-of-tree-cmake: runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 15 needs: maketgz-and-verify-in-tree steps: - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 27ca2b5786..a1e7293465 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -549,6 +549,7 @@ jobs: - name: 'run tests' if: ${{ matrix.build.install_steps != 'skipall' && matrix.build.install_steps != 'skiprun' }} + timeout-minutes: ${{ contains(matrix.build.install_packages, 'valgrind') && 30 || 15 }} run: | export TFLAGS='${{ matrix.build.tflags }}' if [[ '${{ matrix.build.install_packages }}' = *'heimdal-dev'* ]]; then diff --git a/.github/workflows/non-native.yml b/.github/workflows/non-native.yml index abb974e583..6c7296c63a 100644 --- a/.github/workflows/non-native.yml +++ b/.github/workflows/non-native.yml @@ -53,7 +53,7 @@ jobs: architecture: ${{ matrix.arch }} run: | # https://pkgsrc.se/ - sudo pkgin -y install cmake ninja-build pkg-config perl brotli heimdal openldap-client libssh2 libidn2 libpsl nghttp2 # python311 py311-impacket + sudo pkgin -y install cmake ninja-build pkg-config perl brotli heimdal openldap-client libssh2 libidn2 libpsl nghttp2 py311-impacket cmake -B bld -G Ninja \ -DCMAKE_UNITY_BUILD=ON \ -DCURL_WERROR=ON \ @@ -129,7 +129,7 @@ jobs: run: | # https://ports.freebsd.org/ sudo pkg install -y autoconf automake libtool \ - pkgconf brotli openldap26-client libidn2 libnghttp2 nghttp2 stunnel py311-openssl py311-impacket py311-cryptography + pkgconf brotli openldap26-client libidn2 libnghttp2 nghttp2 stunnel py311-impacket autoreconf -fi export CC='${{ matrix.compiler }}' mkdir bld && cd bld && ../configure --enable-debug --enable-warnings --enable-werror \ @@ -156,7 +156,7 @@ jobs: run: | # https://ports.freebsd.org/ sudo pkg install -y cmake ninja perl5 \ - pkgconf brotli openldap26-client libidn2 libnghttp2 nghttp2 stunnel py311-openssl py311-impacket py311-cryptography + pkgconf brotli openldap26-client libidn2 libnghttp2 nghttp2 stunnel py311-impacket cmake -B bld -G Ninja \ '-DCMAKE_C_COMPILER=${{ matrix.compiler }}' \ -DCMAKE_UNITY_BUILD=ON \ diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 770fefb96c..964bb6513e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -57,6 +57,7 @@ jobs: - { build: 'cmake' , sys: 'ucrt64' , env: 'ucrt-x86_64' , tflags: 'skiprun' , config: '-DENABLE_DEBUG=OFF -DBUILD_SHARED_LIBS=ON -DCURL_USE_SCHANNEL=ON -DENABLE_UNICODE=ON -DENABLE_CURLDEBUG=ON', type: 'Release', name: 'schannel R TrackMemory' } - { build: 'cmake' , sys: 'clang64', env: 'clang-x86_64', tflags: 'skiprun' , config: '-DENABLE_DEBUG=ON -DBUILD_SHARED_LIBS=OFF -DCURL_USE_OPENSSL=ON -DENABLE_UNICODE=OFF', type: 'Release', name: 'openssl' } - { build: 'cmake' , sys: 'mingw64', env: 'x86_64' , tflags: 'skiprun' , config: '-DENABLE_DEBUG=OFF -DBUILD_SHARED_LIBS=ON -DCURL_USE_SCHANNEL=ON -DENABLE_UNICODE=ON -DBUILD_EXAMPLES=OFF', type: 'Release', test: 'uwp', name: 'schannel R' } + - { build: 'cmake' , sys: 'mingw32', env: 'i686' , tflags: 'skiprun' , config: '-DENABLE_DEBUG=OFF -DBUILD_SHARED_LIBS=ON -DCURL_USE_SCHANNEL=ON -DENABLE_UNICODE=ON -DBUILD_EXAMPLES=OFF', type: 'Release', name: 'schannel R' } fail-fast: false steps: - run: git config --global core.autocrlf input diff --git a/.github/workflows/wolfssl.yml b/.github/workflows/wolfssl.yml index a156dbbf39..1d5400d6a9 100644 --- a/.github/workflows/wolfssl.yml +++ b/.github/workflows/wolfssl.yml @@ -98,5 +98,6 @@ jobs: - run: make V=1 test-ci name: 'run tests' + timeout-minutes: ${{ contains(matrix.build.install, 'valgrind') && 30 || 15 }} env: TFLAGS: "${{ matrix.build.tflags }}"