forked from eclipse-sumo/sumo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
58 lines (51 loc) · 1.75 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
version: git.{build}
skip_commits:
files:
- docs/**/*
environment:
matrix:
- 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
cmake_opts: "-DENABLE_JAVA_BINDINGS=0"
PYTHON: C:\Python37-x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
ver: 2019
generator: "Visual Studio 16 2019"
configuration: Release
cmake_opts: "-DENABLE_JAVA_BINDINGS=0"
PYTHON: C:\Python27-x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
ver: 2022
generator: "Visual Studio 17 2022"
configuration: Release
cmake_opts: "-DENABLE_JAVA_BINDINGS=0"
PYTHON: C:\Python37-x64
install:
- git clone --depth 1 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_opts% &&
cmake --build . --config %configuration% -j 4 && cd .. &&
%PYTHON%\python.exe tools\build\setup-libsumo.py bdist_wheel
matrix:
fast_finish: true
artifacts:
- path: bin
type: zip
- path: dist\*