forked from eclipse-sumo/sumo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
55 lines (48 loc) · 1.59 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
version: git.{build}
skip_commits:
files:
- docs/**/*
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
ver: 2013
generator: "Visual Studio 12 2013"
configuration: Release
PYTHON: C:\Python37-x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
ver: 2015
generator: "Visual Studio 14 2015"
configuration: Release
PYTHON: C:\Python37-x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
ver: 2017
generator: "Visual Studio 15 2017"
configuration: Release
PYTHON: C:\Python37-x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
ver: 2019
generator: "Visual Studio 16 2019"
configuration: Release
PYTHON: C:\Python37-x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
ver: 2019
generator: "Visual Studio 16 2019"
configuration: Release
PYTHON: C:\Python27-x64
install:
- git clone --recurse-submodules https://github.com/DLR-TS/SUMOLibraries
- set SUMO_LIBRARIES=%CD%\SUMOLibraries
- "%PYTHON%\\python.exe -m pip install wheel"
build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir build_msvc%ver% &&
cd build_msvc%ver% &&
cmake .. -G"%generator%" -A x64 -DPYTHON_EXECUTABLE=%PYTHON%\python.exe &&
cmake --build . --config %configuration% && cd .. &&
%PYTHON%\python.exe tools\build\setup-libsumo.py bdist_wheel
matrix:
fast_finish: true
artifacts:
- path: bin
type: zip
- path: dist\*