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 53
53
with :
54
54
command : test
55
55
args : ${{ matrix.features }} --verbose
56
+
57
+ windows :
58
+ name : " ci windows-2019"
59
+ runs-on : windows-2019
60
+
61
+ strategy :
62
+ matrix :
63
+ features : ["", "--all-features"]
64
+
65
+ steps :
66
+ - uses : actions/checkout@v2
67
+ - name : Install GDAL
68
+ shell : bash
69
+ run : |
70
+ curl -S -O https://download.gisinternals.com/sdk/downloads/release-1928-x64-dev.zip
71
+ 7z x release-1928-x64-dev.zip
72
+ - name : Build and test
73
+ shell : bash
74
+ run : |
75
+ rustc -Vv
76
+ cargo -V
77
+ vswhere
78
+
79
+ export GDAL_HOME=$PWD/release-1928-x64
80
+ export PROJ_LIB=$GDAL_HOME/bin/proj7/share
81
+ export PATH=$GDAL_HOME/bin:$GDAL_HOME/bin/gdal/apps:$PATH
82
+ # Workaround for https://github.com/actions/virtual-environments/issues/3316
83
+ export PATH=/c/msys64/mingw64/bin:$PATH
84
+
85
+ gdalinfo --version
86
+ export GDAL_VERSION=$(gdalinfo --version | sed 's/GDAL \(.*\), .*/\1/')
87
+
88
+ cargo build ${{ matrix.features }} -j 1 --tests --verbose
89
+ cargo test ${{ matrix.features }} --verbose || true
90
+ # 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