From e3fc2b406b4ff56b9c1f1c671fdbc485b7b3f3d1 Mon Sep 17 00:00:00 2001 From: antonioettorre Date: Mon, 20 Nov 2023 16:10:49 +0100 Subject: [PATCH] use windows 2019 and try to understand the end of job --- .github/workflows/test_windows.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_windows.yaml b/.github/workflows/test_windows.yaml index 166520c5..73461aef 100644 --- a/.github/workflows/test_windows.yaml +++ b/.github/workflows/test_windows.yaml @@ -31,7 +31,7 @@ jobs: run: | set PROJ_DIR="C:\Tools\proj-%PROJSOURCE:~0,5%" set - REM choco install ninja + choco install ninja REM choco install cmake mkdir C:\Tools\vcpkg dir C:\Tools\vcpkg @@ -40,6 +40,8 @@ jobs: cd \ cd c:\tools dir + curl -o "proj-%PROJSOURCE:~0,5%.zip" "https://download.osgeo.org/proj/proj-%PROJSOURCE%.zip" + 7z x -aoa -y "proj-%PROJSOURCE:~0,5%.zip" git clone https://github.com/Microsoft/vcpkg.git > nul .\vcpkg\bootstrap-vcpkg.bat -disableMetrics .\vcpkg\vcpkg.exe install sqlite3[core,tool]:"%platform%" @@ -47,13 +49,8 @@ jobs: .\vcpkg\vcpkg.exe install curl:"%platform%" dir %VCPKG_INSTALLED%\bin set PATH=%VCPKG_INSTALLED%\bin;%PATH% - cd \ - cd c:\tools - 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 + cd "%PROJSOURCE:~0,5%" # set BUILD_PROJ=1 mkdir build