forked from GENIVI/CANdevStudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
53 lines (41 loc) · 1.43 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: 1.0.{build}
clone_script:
- cmd: >-
set REPO_PATH=%APPVEYOR_REPO_NAME%
IF NOT "%REPO_PATH:~0,8%"=="https://" set REPO_PATH=https://github.com/%APPVEYOR_REPO_NAME%.git
git clone -q --branch=%APPVEYOR_REPO_BRANCH% %REPO_PATH% %APPVEYOR_BUILD_FOLDER%
rem git fetch origin pull/XXX/merge
rem git checkout FETCH_HEAD
git submodule update --init --recursive
git --no-pager log --pretty=oneline -1
image: Visual Studio 2015
environment:
matrix:
- GENERATOR: '"MinGW Makefiles"'
BUILD_TYPE: Debug
QT_PATH: C:\Qt\5.9\mingw53_32
- GENERATOR: '"MinGW Makefiles"'
BUILD_TYPE: Release
QT_PATH: C:\Qt\5.9\mingw53_32
- GENERATOR: '"Visual Studio 14 2015"'
BUILD_TYPE: Debug
QT_PATH: C:\Qt\5.6\msvc2015
- GENERATOR: '"Visual Studio 14 2015"'
BUILD_TYPE: Release
QT_PATH: C:\Qt\5.6\msvc2015
- GENERATOR: '"Visual Studio 14 2015 Win64"'
BUILD_TYPE: Debug
QT_PATH: C:\Qt\5.7\msvc2015_64
- GENERATOR: '"Visual Studio 14 2015 Win64"'
BUILD_TYPE: Release
QT_PATH: C:\Qt\5.7\msvc2015_64
build_script:
- cmd: >-
set
mkdir build
cd build
set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
set PATH=C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin;%PATH%
cmake .. -G %GENERATOR% -DCMAKE_PREFIX_PATH=%QT_PATH% -DCMAKE_BUILD_TYPE=%BUILD_TYPE%
cmake --build . --config %BUILD_TYPE%
test: off