Update lnx_fiona.yaml with 3.11 #52
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Windows wheels and test x86_64 | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
build_pyproj: | |
name: pyproj ${{ matrix.python }} ${{ matrix.os }} ${{ matrix.triplet }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ "windows-2022" ] | |
arch: [ "auto64" ] | |
python: [ "3.9", "3.10", "3.11" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "${{ matrix.python }}" | |
- name: Install PROJ with vcpkg adn build wheel | |
env: | |
PROJ_WHEEL: true | |
PROJ_NETWORK: ON | |
GDAL_VERSION: 3.7.3 | |
PROJSOURCE: 9.1.0 | |
BUILD_SHARED_LIBS: ON | |
PYPROJ_VERSION: 3.6.1 | |
REPO_DIR: pyproj | |
BUILD_PROJ: 1 | |
platform: "x64-windows" | |
shell: cmd | |
run: | | |
set BASE_INST_DIR="%RUNNER_WORKSPACE%\installed" | |
set PROJ_DIR=%BASE_INST_DIR%\proj-%PROJSOURCE:~0,5% | |
REM | |
vcpkg install sqlite3[core,tool]:"%platform%" | |
vcpkg install tiff:"%platform%" | |
vcpkg install curl:"%platform%" | |
set VCPKG_PACKAGES=%VCPKG_INSTALLATION_ROOT%\packages\ | |
set PATH=%VCPKG_PACKAGES%\bin;%PATH% | |
dir %VCPKG_PACKAGES% | |
REM | |
dir %VCPKG_PACKAGES%\bin | |
set | |
cd %RUNNER_WORKSPACE% | |
curl -o "proj-%PROJSOURCE:~0,5%.zip" "https://download.osgeo.org/proj/proj-%PROJSOURCE%.zip" | |
7z x -aoa -y "proj-%PROJSOURCE:~0,5%.zip" | |
## | |
cd "%RUNNER_WORKSPACE%\proj-%PROJSOURCE:~0,5%" | |
dir | |
# | |
set BUILD_PROJ=1 | |
mkdir build | |
cd build | |
cmake -GNinja .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS="%BUILD_SHARED_LIBS%" -DCMAKE_C_FLAGS="/WX" -DCMAKE_CXX_FLAGS="/WX" -DCMAKE_TOOLCHAIN_FILE="%VCPKG_INSTALLATION_ROOT%/scripts/buildsystems/vcpkg.cmake" -DCMAKE_INSTALL_PREFIX="%PROJ_DIR%" | |
ninja -v | |
ninja install | |
set PATH=%PROJ_DIR%\bin;%PATH% | |
set PROJ_DATA=%PROJ_DIR%\share\proj | |
proj | |
#python -m pip wheel . --wheel-dir=${GITHUB_WORKSPACE}/wheels_torepair --no-deps | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
path: ./wheelhouse/*.whl | |
retention-days: 7 |