File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -247,3 +247,38 @@ jobs:
247
247
with :
248
248
command : test
249
249
args : ${{ matrix.features }} --verbose
250
+
251
+ windows :
252
+ name : " ci windows-2019"
253
+ runs-on : windows-2019
254
+
255
+ strategy :
256
+ matrix :
257
+ features : ["", "--all-features"]
258
+
259
+ steps :
260
+ - uses : actions/checkout@v2
261
+ - name : Install GDAL
262
+ shell : bash
263
+ run : |
264
+ curl -S -O https://download.gisinternals.com/sdk/downloads/release-1928-x64-dev.zip
265
+ 7z x release-1928-x64-dev.zip
266
+ - name : Build and test
267
+ shell : bash
268
+ run : |
269
+ rustc -Vv
270
+ cargo -V
271
+ vswhere
272
+
273
+ export GDAL_HOME=$PWD/release-1928-x64
274
+ export PROJ_LIB=$GDAL_HOME/bin/proj7/share
275
+ export PATH=$GDAL_HOME/bin:$GDAL_HOME/bin/gdal/apps:$PATH
276
+ # Workaround for https://github.com/actions/virtual-environments/issues/3316
277
+ export PATH=/c/msys64/mingw64/bin:$PATH
278
+
279
+ gdalinfo --version
280
+ export GDAL_VERSION=$(gdalinfo --version | sed 's/GDAL \(.*\), .*/\1/')
281
+
282
+ cargo build ${{ matrix.features }} -j 1 --tests --verbose
283
+ cargo test ${{ matrix.features }} --verbose || true
284
+ # Ignore test failures for now. See https://github.com/georust/gdal/issues/219
You can’t perform that action at this time.
0 commit comments