Skip to content

Commit

Permalink
don't use ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-christophe81 committed Jul 23, 2024
1 parent f7fdf70 commit a5df64c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/scripts/windows-agent-compile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,15 @@ if ( $? -ne $true ) {
7z a $file_name_extension build_windows\vcpkg_installed
Write-Host "Upload binary archive"
aws s3 cp $file_name_extension s3://centreon-collect-robot-report/$file_name_extension

Write-Host "create CMake files"
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTING=On -DWINDOWS=On -DBUILD_FROM_CACHE=On -GNinja -S. -Bbuild_windows
}
else {
7z x $file_name_extension

Write-Host "Create cmake files from binary-cache downloaded without use vcpkg"

}

cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTING=On -DWINDOWS=On -DBUILD_FROM_CACHE=On -S. -DVCPKG_CRT_LINKAGE=dynamic -DBUILD_SHARED_LIBS=OFF -Bbuild_windows


Write-Host "build agent and tests"
cmake --build build_windows
Expand Down

0 comments on commit a5df64c

Please sign in to comment.