diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2023-05-04 09:54:24 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2023-05-04 17:59:34 -0600 |
commit | 2aaecb79db7131a5bb54ddb8e9d4ac6e8207fb7c (patch) | |
tree | 4d047d86570ef93b16fef348aba33cdaf961803c | |
parent | 14cf3972df6730a893b796760147ebae87ccdcc5 (diff) | |
download | numpy-2aaecb79db7131a5bb54ddb8e9d4ac6e8207fb7c.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.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index a716139c4..9042d0a77 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -108,11 +108,14 @@ jobs: with: python-version: "3.x" + # We need rtools 4.0 to have 32 bit support on windows + - if: runner.os == 'windows' + uses: r-windows/install-rtools@13886bb4048f1b862d33869a18b73cdd446a3961 # main + - name: setup rtools for 32-bit run: | echo "PLAT=i686" >> $env:GITHUB_ENV - echo "MSYSTEM=MINGW32" >> $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' }} |