Skip to content
Snippets Groups Projects
Verified Commit 254eb2fd authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Migrate windows CI to our runners

parent e64f2f20
Branches reportContent
No related tags found
No related merge requests found
Pipeline #5819 passed
call "C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Auxiliary/Build/vcvarsall.bat" x64
cmake -G "Visual Studio 17 2022" -H. -Bbuild -DHUNTER_ENABLED=ON -DHUNTER_ROOT="C:\hunter" -DCMAKE_BUILD_TYPE=Release -DHUNTER_CONFIGURATION_TYPES=Release -DUSE_BUNDLED_GTEST=OFF -DBUILD_LIB_TESTS=OFF -DBUILD_LIB_EXAMPLES=OFF -DBUILD_SHARED_LIBS=OFF
cmake --build build --config Release -j %NUMBER_OF_PROCESSORS%
......@@ -173,6 +173,24 @@ build-macos:
- .hunter/
- "${CCACHE_DIR}"
build-windows:
stage: build
image: win10-base
tags: [libvirt,powershell]
variables:
CMAKE_BUILD_PARALLEL_LEVEL: 8
before_script:
- mkdir -p hunter -f
- Move-Item -Path hunter -Destination C:/hunter
script:
- ./.ci/windows/build.bat
after_script:
- Move-Item -Path C:/hunter -Destination hunter -Force
cache:
key: "$CI_JOB_NAME"
paths:
- hunter/
linting:
stage: build
image: alpine:latest
......
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