Skip to content

Commit 91e826f

Browse files
committed
add specific paths
1 parent 4aa53d9 commit 91e826f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ jobs:
7272
CIBW_BEFORE_BUILD: >
7373
python -c "import utils; utils.GeosLibrary('${{ env.GEO_VERSION }}').build('extern', njobs=16)"
7474
CIBW_ENVIRONMENT: >
75-
GEOS_DIR=/project/extern
76-
CFLAGS="-I/project/extern/include"
77-
LDFLAGS="-L/project/extern/lib"
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' }}
78+
GEOS_DIR=/project/extern
7879
CIBW_TEST_COMMAND: >
7980
cd {project}
8081
pip install pytest

0 commit comments

Comments
 (0)