forked from CUBRID/cubrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
32 lines (27 loc) · 1.06 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
image:
- Visual Studio 2017
environment:
CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
BUILD_TYPE: RelWithDebInfo
matrix:
fast_finish: true
install:
- ps: choco install ant --ignore-dependencies --no-progress
- ps: $env:ANT_PATH="C:\ProgramData\chocolatey\lib\ant\bin\ant"
clone_script:
- ps: >-
if(-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
git clone -q --branch=$env:APPVEYOR_REPO_BRANCH https://github.com/$env:APPVEYOR_REPO_NAME.git $env:APPVEYOR_BUILD_FOLDER
cd $env:APPVEYOR_BUILD_FOLDER
git checkout -qf $env:APPVEYOR_REPO_COMMIT
} else {
git clone -q https://github.com/$env:APPVEYOR_REPO_NAME.git $env:APPVEYOR_BUILD_FOLDER
cd $env:APPVEYOR_BUILD_FOLDER
git fetch -q origin +refs/pull/$env:APPVEYOR_PULL_REQUEST_NUMBER/merge:
git checkout -qf FETCH_HEAD
}
- cmd: git submodule update --init --recursive && git rm -f cubridmanager
build_script:
- cmake -E make_directory build
- cmake -E chdir build cmake -G "%CMAKE_GENERATOR%" -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ..
- cmake --build build --config %BUILD_TYPE%