changeset 29740:c3bab252f071

GitHub-CI: Timeout configure step on Windows after 30 minutes. * .github/workflows/make.yaml (windows): For currently unknown reasons, compiling Fortran files seems to intermittently block execution indefinitely. Time out after 30 minutes in this case. But allow other jobs in the matrix to continue.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 07 Jun 2021 16:54:12 +0200
parents d2909c4ffd62
children 07ecddf2174c
files .github/workflows/make.yaml
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/make.yaml	Mon Jun 07 11:51:43 2021 +0200
+++ b/.github/workflows/make.yaml	Mon Jun 07 16:54:12 2021 +0200
@@ -270,6 +270,7 @@
         shell: C:/msys64/usr/bin/bash.exe --login -eo pipefail "{0}"
 
     strategy:
+      fail-fast: false
       matrix:
         # For available GitHub-hosted runners, see: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
         os: [windows-2019]
@@ -362,6 +363,9 @@
           ./bootstrap
 
       - name: configure
+        # configure sometimes hangs while compiling 32bit Fortran.
+        # It should take much less than 30 minutes. Cancel the step if it takes longer.
+        timeout-minutes: 30
         # PortAudio requires linking to libuuid. But its pkg-config file doesn't reference the path to that library.
         # FIXME: Fix building with Java support. Override JAVA_HOME for now.
         # FIXME: How do we get a working TeX environment in MSYS2? Disable building the documentation for now.