We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aa53d9 commit 91e826fCopy full SHA for 91e826f
.github/workflows/build.yml
@@ -72,9 +72,10 @@ jobs:
72
CIBW_BEFORE_BUILD: >
73
python -c "import utils; utils.GeosLibrary('${{ env.GEO_VERSION }}').build('extern', njobs=16)"
74
CIBW_ENVIRONMENT: >
75
- GEOS_DIR=/project/extern
76
- CFLAGS="-I/project/extern/include"
77
- LDFLAGS="-L/project/extern/lib"
+ GEOS_DIR=${{ github.workspace }}${{ runner.os == 'Windows' && '\\extern' || '/extern' }}
+ CFLAGS=-I${{ github.workspace }}${{ runner.os == 'Windows' && '\\extern\\include' || '/extern/include' }}
+ LDFLAGS=-L${{ github.workspace }}${{ runner.os == 'Windows' && '\\extern\\lib' || '/extern/lib' }}
78
+ GEOS_DIR=/project/extern
79
CIBW_TEST_COMMAND: >
80
cd {project}
81
pip install pytest
0 commit comments