From 348a90a5663e68c491cef92510f3c53562526316 Mon Sep 17 00:00:00 2001 From: Terik23 Date: Mon, 2 Apr 2018 16:33:25 +0500 Subject: [PATCH] fix ci --- .travis.yml | 1 + appveyor.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index c424658..66b0ea7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 72b562b..994d6ab 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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