File tree 1 file changed +15
-6
lines changed
1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 49
49
if : runner.os == 'Windows'
50
50
51
51
52
+ - name : Setup Visual Studio Developer Command Prompt
53
+ if : runner.os == 'Windows'
54
+ uses : ilammy/msvc-dev-cmd@v1
55
+
56
+ - name : Install Windows development tools
57
+ if : runner.os == 'Windows'
58
+ run : |
59
+ choco install visualstudio2019buildtools visualstudio2019-workload-vctools cmake
60
+
52
61
- name : Setup C++ toolchain (macOS)
53
62
if : runner.os == 'macOS'
54
63
run : |
@@ -63,13 +72,13 @@ jobs:
63
72
CIBW_BEFORE_BUILD : >
64
73
python -c "import utils; utils.GeosLibrary('${{ env.GEO_VERSION }}').build('extern', njobs=16)"
65
74
CIBW_ENVIRONMENT : >
66
- GEOS_DIR=/project/extern
67
- CPATH=/projectextern/include
68
- LIBRARY_PATH=/project/extern/lib
69
- LD_LIBRARY_PATH=/project/extern/lib
70
- SETUPTOOLS_USE_DISTUTILS=stdlib
75
+ GEOS_DIR=${{ github.workspace }}${{ runner.os == 'Windows' && '\\extern' || '/extern' }}
76
+ CFLAGS=-I${{ github.workspace }}${{ runner.os == 'Windows' && '\\extern\\include' || '/extern/include' }}
77
+ LDFLAGS=-L${{ github.workspace }}${{ runner.os == 'Windows' && '\\extern\\lib' || '/extern/lib' }}
71
78
CIBW_TEST_COMMAND : >
72
- cd {project} && python -m pytest --cov="mpl_toolkits.basemap"
79
+ cd {project}
80
+ pip install pytest
81
+ python -m pytest --cov="mpl_toolkits.basemap"
73
82
--cov-report=term --ignore=dist --ignore=build
74
83
CIBW_BUILD : " cp39-* cp310-* cp311-* cp312-*"
75
84
run : |
You can’t perform that action at this time.
0 commit comments