From 50a020651ad7504b99ab80895dadd1aba20009cc Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Thu, 4 May 2023 09:54:24 -0600 Subject: MAINT, BLD: Install rtools 4.0 for Windows wheels. rtools 4.0 is no longer installed by default for GitHub actions and versions greater than 4.1 do not support 32 bits, so explicitly include the 4.0 version. Closes #23675 --- .github/workflows/wheels.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 001c4b8b0..677e69853 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -107,9 +107,11 @@ jobs: python-version: "3.x" - name: setup rtools for 32-bit + # We need rtools 4.0 to have 32 bit support + uses: r-windows/install-rtools@13886bb4048f1b862d33869a18b73cdd446a3961 # main run: | echo "PLAT=i686" >> $env:GITHUB_ENV - echo "PATH=$env:RTOOLS40_HOME\mingw32\bin;$env:PATH" >> $env:GITHUB_ENV + echo "PATH=c:\rtools40\mingw32\bin;$env:PATH" >> $env:GITHUB_ENV gfortran --version if: ${{ matrix.buildplat[1] == 'win32' }} -- cgit v1.2.1