diff options
author | mattip <matti.picus@gmail.com> | 2020-04-26 17:18:20 +0300 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2020-04-27 18:02:12 -0600 |
commit | 7c0395543cbe6aa621a2e52269d953c53e8b215a (patch) | |
tree | e353e0ff035b75d069b83d3764eb584917c4c393 | |
parent | 395d03063f918f633fbfa28a6dbb61bb79bd0453 (diff) | |
download | numpy-7c0395543cbe6aa621a2e52269d953c53e8b215a.tar.gz |
BLD: change link, add sha256 check
-rw-r--r-- | azure-pipelines.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cba6e7c24..77837275d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -93,8 +93,14 @@ stages: # just pulling in gfortran - script: | set -xe - # same version of gfortran as the wheel builds - curl -L https://github.com/fxcoudert/gfortran-for-macOS/releases/download/4.9.0/gfortran-4.9.0-Mavericks.dmg -o gfortran.dmg + # same version of gfortran as the open-libs and numpy-wheel builds + curl -L https://github.com/MacPython/gfortran-install/raw/master/archives/gfortran-4.9.0-Mavericks.dmg -o gfortran.dmg + GFORTRAN_SHA256=$(shasum -a 256 gfortran.dmg) + KNOWN_SHA256="d2d5ca5ba8332d63bbe23a07201c4a0a5d7e09ee56f0298a96775f928c3c4b30 gfortran.dmg" + if [ "$GFORTRAN_SHA256" != "$KNOWN_SHA256" ]; then + echo sha256 mismatch + exit 1 + fi hdiutil attach -mountpoint /Volumes/gfortran gfortran.dmg sudo installer -pkg /Volumes/gfortran/gfortran.pkg -target / otool -L /usr/local/gfortran/lib/libgfortran.3.dylib |