mirror of https://github.com/procxx/kepka.git
parent
2a341d77b1
commit
de6b51bc4e
|
@ -1,5 +0,0 @@
|
||||||
pushd %APPVEYOR_BUILD_FOLDER%\build
|
|
||||||
cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
|
||||||
cmake --build . --config RelWithDebInfo
|
|
||||||
ctest .
|
|
||||||
popd
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
$ErrorActionPreference = 'Stop'
|
||||||
|
|
||||||
|
Push-Location "$env:APPVEYOR_BUILD_FOLDER\build"
|
||||||
|
try {
|
||||||
|
cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
||||||
|
if (!$?) { throw 'Error running cmake' }
|
||||||
|
cmake --build . --config RelWithDebInfo
|
||||||
|
if (!$?) { throw 'Error building with cmake' }
|
||||||
|
ctest .
|
||||||
|
if (!$?) { throw 'ctest execution error' }
|
||||||
|
} finally {
|
||||||
|
Pop-Location
|
||||||
|
}
|
|
@ -31,7 +31,7 @@ before_build:
|
||||||
- cmd: .appveyor\before_build.cmd
|
- cmd: .appveyor\before_build.cmd
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: .appveyor\build.cmd
|
- ps: .appveyor\build.ps1
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- ps: .appveyor\after_build.ps1
|
- ps: .appveyor\after_build.ps1
|
||||||
|
|
Loading…
Reference in New Issue