Skip to content
Snippets Groups Projects
Commit 7636a87a authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Changed image to buildtools

parent c436ffb0
No related branches found
No related tags found
No related merge requests found
......@@ -38,12 +38,13 @@ build:windows_cpp:
tags:
- windows
image: mcr.microsoft.com/windows/servercore:ltsc2022
image: buildtools:latest
before_script:
# Install CMake
- Invoke-WebRequest -UseBasicParsing "https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4-windows-x86_64.msi" -o cmake-3.27.4-windows-x86_64.msi
- Start-Process -Wait -FilePath MsiExec.exe -ArgumentList '/i cmake-3.27.4-windows-x86_64.msi ADD_CMAKE_TO_PATH=System /qn'
- Invoke-WebRequest -UseBasicParsing "https://aka.ms/vs/17/release/vs_buildtools.exe" -o vs_buildtools.exe
- Start-Process -Wait -FilePath .\vs_buildtools.exe -ArgumentList '-q'
# Update PATH
- $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
script:
- mkdir -p build_cpp
- mkdir -p install_cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment