summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2023-05-04 09:54:24 -0600
committerCharles Harris <charlesr.harris@gmail.com>2023-05-04 10:18:44 -0600
commit50a020651ad7504b99ab80895dadd1aba20009cc (patch)
treec842e36507ba6c50e97e63f9ef75e6c7466a311d
parenta16c0bd5b0acc71dc19eb365270d5a1545cee245 (diff)
downloadnumpy-50a020651ad7504b99ab80895dadd1aba20009cc.tar.gz
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
-rw-r--r--.github/workflows/wheels.yml4
1 files changed, 3 insertions, 1 deletions
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' }}