File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,14 +40,16 @@ jobs:
4040 - name : Install Dependencies (Windows)
4141 if : matrix.os == 'windows-latest'
4242 run : |
43- git clone https://github.com/microsoft/vcpkg.git $env:RUNNER_TEMP/vcpkg
44- $env:RUNNER_TEMP/vcpkg/bootstrap-vcpkg.bat
45- $env:RUNNER_TEMP/vcpkg/vcpkg install curl:x64-windows
43+ $vcpkgPath = "${{ runner.temp }}/vcpkg"
44+ git clone https://github.com/microsoft/vcpkg.git $vcpkgPath
45+ & "$vcpkgPath/bootstrap-vcpkg.bat"
46+ & "$vcpkgPath/vcpkg" install curl:x64-windows
47+ echo "VCPKG_ROOT=$vcpkgPath" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
4648 shell : pwsh
4749
4850 - name : Configure CMake (Windows)
4951 if : matrix.os == 'windows-latest'
50- run : cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$env:RUNNER_TEMP/vcpkg /scripts/buildsystems/vcpkg.cmake" -DARKILIAN_BUILD_EXAMPLES=OFF
52+ run : cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_ROOT /scripts/buildsystems/vcpkg.cmake" -DARKILIAN_BUILD_EXAMPLES=OFF
5153 shell : pwsh
5254
5355 - name : Configure CMake (Unix)
You can’t perform that action at this time.
0 commit comments