Skip to content

Commit

Permalink
CI: clean up some unused choco install invocations
Browse files Browse the repository at this point in the history
- `unzip` is (I think) a left-over from having to unzip OpenBLAS
  tarballs (we have wheels for that now)
- `ninja` is already installed from PyPI, it's in `test_requirements.txt`

The `rtools43` path cleanup helps readability. Rtools is already
installed on the CI runner image, and only used for testing (f2py
tests in "full" mode).

[skip cirrus] [skip circle] [skip actions]
  • Loading branch information
rgommers committed Mar 11, 2024
1 parent a4e6a54 commit ebb8f6e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions azure-steps-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ steps:
displayName: 'Install dependencies; some are optional to avoid test skips'

- powershell: |
choco install -y --stoponfirstfailure unzip
choco install -y --stoponfirstfailure --checksum 6004DF17818F5A6DBF19CB335CC92702 pkgconfiglite
choco install --stoponfirstfailure ninja
echo "##vso[task.setvariable variable=RTOOLS43_HOME]c:\rtools43"
displayName: 'Install utilities'

- powershell: |
Expand All @@ -42,7 +39,7 @@ steps:
- powershell: |
cd tools # avoid root dir to not pick up source tree
# Get a gfortran onto the path for f2py tests
$env:PATH = "$env:RTOOLS43_HOME\\x86_64-w64-mingw32.static.posix\\bin;$env:PATH"
$env:PATH = "c:\\rtools43\\x86_64-w64-mingw32.static.posix\\bin;$env:PATH"
If ( $env:TEST_MODE -eq "full" ) {
pytest --pyargs numpy -rsx --junitxml=junit/test-results.xml
} else {
Expand Down

0 comments on commit ebb8f6e

Please sign in to comment.