From b7934fc686f3c731aef0d5d26eb0098dab4be81f Mon Sep 17 00:00:00 2001 From: Slava <20563034+veaceslavdoina@users.noreply.github.com> Date: Sat, 10 Aug 2024 12:50:05 +0300 Subject: [PATCH] Downgrade to gcc 13 on Windows (#874) * Downgrade to gcc 13 on Windows Signed-off-by: Slava <20563034+veaceslavdoina@users.noreply.github.com> * Increase build job timeout to 90 minutes Signed-off-by: Slava <20563034+veaceslavdoina@users.noreply.github.com> --------- Signed-off-by: Slava <20563034+veaceslavdoina@users.noreply.github.com> --- .github/actions/nimbus-build-system/action.yml | 6 ++++++ .github/workflows/ci-reusable.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/actions/nimbus-build-system/action.yml b/.github/actions/nimbus-build-system/action.yml index 012881a3..e4f58209 100644 --- a/.github/actions/nimbus-build-system/action.yml +++ b/.github/actions/nimbus-build-system/action.yml @@ -78,6 +78,12 @@ runs: mingw-w64-i686-ntldd-git mingw-w64-i686-rust + - name: MSYS2 (Windows All) - Downgrade to gcc 13 + if: inputs.os == 'windows' + shell: ${{ inputs.shell }} {0} + run: | + pacman -U --noconfirm https://repo.msys2.org/mingw/ucrt64/mingw-w64-ucrt-x86_64-gcc-13.2.0-6-any.pkg.tar.zst https://repo.msys2.org/mingw/ucrt64/mingw-w64-ucrt-x86_64-gcc-libs-13.2.0-6-any.pkg.tar.zst + - name: Derive environment variables shell: ${{ inputs.shell }} {0} run: | diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml index b83757d1..08a182f5 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -26,7 +26,7 @@ jobs: name: '${{ matrix.os }}-${{ matrix.cpu }}-${{ matrix.nim_version }}-${{ matrix.tests }}' runs-on: ${{ matrix.builder }} - timeout-minutes: 80 + timeout-minutes: 90 steps: - name: Checkout sources uses: actions/checkout@v4