Skip to content

Commit 5ef394a

Browse files
committed
minor bump
1 parent ca30a17 commit 5ef394a

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,24 @@ jobs:
5757
- name: Install cibuildwheel
5858
run: python -m pip install cibuildwheel==2.16.2
5959

60-
- name: Set GEO_SRC_DIR
60+
- name: Set GEO src directory
6161
shell: bash
6262
run: |
6363
if [ "$RUNNER_OS" == "Windows" ]; then
64-
echo "GEO_SRC_DIR=${{ github.workspace }}/geo" >> $GITHUB_ENV
64+
echo "GEO_DIR=${{ github.workspace }}/geo" >> $GITHUB_ENV
6565
else
66-
echo "GEO_SRC_DIR=/project/geo" >> $GITHUB_ENV
66+
echo "GEO_DIR=/project/geo" >> $GITHUB_ENV
6767
fi
6868
6969
- name: Build wheels
7070
env:
7171
CIBW_BUILD: "cp{39,310,311,312}-{manylinux_x86_64,win_amd64,macosx_x86_64}"
72-
CIWB_SKIP: "*-manylinux_i686 *-musllinux* pp*"
72+
CIBW_SKIP: "*-manylinux_i686 *-musllinux* pp*"
7373
CIBW_BEFORE_BUILD: >
74-
python -c "import utils; utils.GeosLibrary('${{ env.GEO_VERSION }}').build('geo', njobs=16)"
74+
python -c "import utils; utils.GeosLibrary('${{ env.GEO_VERSION }}').build('${{ GEO_DIR}}', njobs=16)"
7575
CIBW_ENVIRONMENT: >
76-
GEOS_DIR=${{ GEO_SRC_DIR }}
77-
CFLAGS=-I${{ GEO_SRC_DIR }}/include
78-
LDFLAGS=-L${{ GEO_SRC_DIR }}/lib
76+
CFLAGS=-I${{ GEO_DIR }}/include
77+
LDFLAGS=-L${{ GEO_DIR }}/lib
7978
CIBW_TEST_COMMAND: >
8079
cd {project} &&
8180
pip install pytest pytest-cov &&

0 commit comments

Comments
 (0)