22
33on :
44 push :
5+ branches :
6+ - master
57 pull_request :
68 branches :
79 - master
9496 uses : actions-rs/toolchain@v1
9597 with : {toolchain: '${{matrix.rust}}', profile: minimal, override: true}
9698 - name : Install conda
97- uses : goanpeca /setup-miniconda@v1
99+ uses : conda-incubator /setup-miniconda@v2
98100 with : {auto-update-conda: false, activate-environment: testenv}
99101 - name : Install HDF5 (${{matrix.version}}${{matrix.mpi && '-' || ''}}${{matrix.mpi}})
100102 run : |
@@ -124,6 +126,9 @@ jobs:
124126 - name : Checkout repository
125127 uses : actions/checkout@v2
126128 with : {submodules: true}
129+ - name : Change to older toolchain
130+ if : matrix.os == 'macos'
131+ run : sudo xcode-select -s "/Applications/Xcode_11.7.app"
127132 - name : Install Rust (${{matrix.rust}})
128133 uses : actions-rs/toolchain@v1
129134 with : {toolchain: '${{matrix.rust}}', profile: minimal, override: true}
@@ -165,7 +170,7 @@ jobs:
165170 fail-fast : false
166171 matrix :
167172 rust : [stable]
168- version : [1.8, ' 1.10' ]
173+ version : [" 1.8", " 1.10", "1.12" ]
169174 steps :
170175 - name : Checkout repository
171176 uses : actions/checkout@v2
@@ -176,18 +181,22 @@ jobs:
176181 - name : Configure environment
177182 shell : bash
178183 run : |
179- if [ "${{matrix.version}}" == "1.8" ]; then
184+ if [[ "${{matrix.version}}" == "1.8" ] ]; then
180185 VERSION=1.8.21
181186 DL_PATH=hdf5-1.8.21-Std-win7_64-vs14.zip
182- echo ::set-env name= MSI_PATH:: hdf\\HDF5-1.8.21-win64.msi
183- else
187+ echo " MSI_PATH= hdf\\HDF5-1.8.21-win64.msi" >> $GITHUB_ENV
188+ elif [[ "${{matrix.version}}" == "1.10" ]]; then
184189 VERSION=1.10.0
185190 DL_PATH=windows/extra/hdf5-1.10.0-win64-VS2015-shared.zip
186- echo ::set-env name=MSI_PATH::hdf5\\HDF5-1.10.0-win64.msi
191+ echo "MSI_PATH=hdf5\\HDF5-1.10.0-win64.msi" >> $GITHUB_ENV
192+ else
193+ VERSION=1.12.0
194+ DL_PATH=hdf5-1.12.0-Std-win10_64-vs16.zip
195+ echo "MSI_PATH=hdf\\HDF5-1.12.0-win64.msi" >> $GITHUB_ENV
187196 fi
188197 BASE_URL=https://support.hdfgroup.org/ftp/HDF5/prev-releases
189- echo ::set-env name= DL_URL:: $BASE_URL/hdf5-${{matrix.version}}/hdf5-$VERSION/bin/$DL_PATH
190- echo ::add-path:: C:\\Program Files\\HDF_Group\\HDF5\\$VERSION\\bin
198+ echo " DL_URL= $BASE_URL/hdf5-${{matrix.version}}/hdf5-$VERSION/bin/$DL_PATH" >> $GITHUB_ENV
199+ echo " C:\\Program Files\\HDF_Group\\HDF5\\$VERSION\\bin" >> $GITHUB_PATH
191200 - name : Install HDF5 (${{matrix.version}})
192201 shell : pwsh
193202 run : |
0 commit comments