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
|
- PLATFORM=x64 CONFIGURATION=Release
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- mkdir -p build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIGURATION -DTARGET_CPU=$PLATFORM
|
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIGURATION -DTARGET_CPU=$PLATFORM
|
||||||
- cmake --build . --config $CONFIGURATION
|
- cmake --build . --config $CONFIGURATION
|
||||||
|
|
|
@ -31,6 +31,7 @@ init:
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- ps: 'Write-Host "Running $env:BUILDER with $env:GENERATOR" -ForegroundColor Magenta'
|
- ps: 'Write-Host "Running $env:BUILDER with $env:GENERATOR" -ForegroundColor Magenta'
|
||||||
|
- if not exist build mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- if "%BUILDER%"=="CMake" cmake.exe .. -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTARGET_CPU=$PLATFORM
|
- if "%BUILDER%"=="CMake" cmake.exe .. -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTARGET_CPU=$PLATFORM
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue