]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/ci/setup_windows_ci_environment.ps1
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / ci / setup_windows_ci_environment.ps1
1 $ErrorActionPreference = "Stop"
2 trap { $host.SetShouldExit(1) }
3
4 git submodule update -f "tools/vcpkg"
5 Push-Location -Path "tools/vcpkg"
6 $VCPKG_DIR = (Get-Item -Path ".\").FullName
7 ./bootstrap-vcpkg.bat
8 ./vcpkg integrate install
9
10 # Patched Google Benchmark can be shared between vs2017 and vs2019 compilers
11 ./vcpkg "--vcpkg-root=$VCPKG_DIR" install --overlay-ports="$PSScriptRoot\ports" benchmark:x64-windows
12
13 # Google Test
14 ./vcpkg "--vcpkg-root=$VCPKG_DIR" install gtest:x64-windows
15
16 # nlohmann-json
17 ./vcpkg "--vcpkg-root=$VCPKG_DIR" install nlohmann-json:x64-windows
18
19 Pop-Location