forked from google/or-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
60 lines (50 loc) · 1.85 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
54
55
56
57
58
59
version: '{build}'
shallow_clone: true
platform: x64
environment:
MSBUILD_FLAGS: /verbosity:minimal /maxcpucount
matrix:
# Makefile
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
BUILDER: make
LANGUAGE: cc
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
BUILDER: make
LANGUAGE: python
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
BUILDER: make
LANGUAGE: java
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
BUILDER: make
LANGUAGE: dotnet
# CMake
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
BUILDER: cmake
CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
matrix:
fast_finish: false
before_build:
- git config --global user.email "ci@appveyor.com"
- git config --global user.name "CI"
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- tools\win\which.exe csc.exe
- tools\win\which.exe fsc.exe
- tools\win\which.exe dotnet.exe
- cmake --version
- set PATH=C:\Python36-x64;%PATH%
- tools\win\which.exe python.exe
- python -V
- python -m pip install virtualenv wheel six
# - set PATH="C:\Program Files\Java\jdk1.8.0\bin";%PATH%
- if "%BUILDER%"=="cmake" cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -G "%CMAKE_GENERATOR%" || VER>NUL
- if "%BUILDER%"=="make" del "C:\Program Files\Git\usr\bin\sh.exe"
- if "%BUILDER%"=="make" tools\make.exe detect
build_script:
- if "%BUILDER%"=="cmake" cmake --build build --config Release --target ALL_BUILD -- %MSBUILD_FLAGS%
- if "%BUILDER%"=="make" tools\make.exe third_party
- if "%BUILDER%"=="make" tools\make.exe help_%LANGUAGE%
- if "%BUILDER%"=="make" tools\make.exe %LANGUAGE%
- if "%BUILDER%"=="make" tools\make.exe test_%LANGUAGE%
- if "%LANGUAGE%"=="cc" tools\make.exe test_fz
test_script:
- if "%BUILDER%"=="cmake" cmake --build build --config Release --target RUN_TESTS