Skip to content

Commit

Permalink
use windows 2019 and try to understand the end of job
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioettorre committed Nov 20, 2023
1 parent 6b94c47 commit e3fc2b4
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/test_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -40,20 +40,17 @@ 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%"
.\vcpkg\vcpkg.exe install tiff:"%platform%"
.\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
Expand Down

0 comments on commit e3fc2b4

Please sign in to comment.