fix ci
This commit is contained in:
parent
c71de0fc95
commit
348a90a566
2 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ env:
|
|||
- PLATFORM=x64 CONFIGURATION=Release
|
||||
|
||||
script:
|
||||
- mkdir -p build
|
||||
- cd build
|
||||
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIGURATION -DTARGET_CPU=$PLATFORM
|
||||
- cmake --build . --config $CONFIGURATION
|
||||
|
|
|
@ -31,6 +31,7 @@ init:
|
|||
|
||||
before_build:
|
||||
- ps: 'Write-Host "Running $env:BUILDER with $env:GENERATOR" -ForegroundColor Magenta'
|
||||
- if not exist build mkdir build
|
||||
- cd build
|
||||
- if "%BUILDER%"=="CMake" cmake.exe .. -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTARGET_CPU=$PLATFORM
|
||||
|
||||
|
|
Loading…
Reference in a new issue