Skip to content

Commit

Permalink
use CIBW_BEFORE_ALL:
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioettorre committed Nov 17, 2023
1 parent e42b883 commit ae7527c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
vcpkg_logs: [ "c:\\vcpkg\\buildtrees\\**\\*.log" ]
env:
REPO_DIR: pyproj
PROJ_VERSION: "9.1.0"
PYPROJ_VERSION: 3.6.1
steps:
- uses: actions/checkout@v4
# - uses: actions/checkout@v4
Expand All @@ -39,7 +39,6 @@ jobs:
- name: Install PROJ with vcpkg
env:
VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }}
PYPROJ_VERSION: 3.6.1
shell: bash
run: |
ls -lrt ${GITHUB_WORKSPACE}
Expand All @@ -53,15 +52,16 @@ jobs:
mkdir -p ${GITHUB_WORKSPACE}/pyproj/proj_dir/share/proj
ls "$VCPKG_INSTALLATION_ROOT/installed/${{ matrix.triplet }}/"*
cp "$VCPKG_INSTALLATION_ROOT/installed/${{ matrix.triplet }}/share/proj/"* ${GITHUB_WORKSPACE}/pyproj/proj_dir/share/proj/
git clone https://github.com/pyproj4/pyproj.git
cd pyproj
git checkout ${PYPROJ_VERSION}
- name: Build wheels
uses: pypa/cibuildwheel@v2.16
env:
CIBW_SKIP: "*musllinux* pp*-win* pp31*"
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BEFORE_ALL: >
git clone https://github.com/pyproj4/pyproj.git
cd pyproj
git checkout ${PYPROJ_VERSION}
CIBW_ENVIRONMENT_WINDOWS:
PROJ_WHEEL=true
PROJ_NETWORK=ON
Expand Down

0 comments on commit ae7527c

Please sign in to comment.