-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
.appveyor.yml
66 lines (59 loc) · 2.23 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
60
61
62
63
64
65
66
version: git.{build}
skip_commits:
files:
- docs/**/*
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
ver: 2015
generator: "Visual Studio 14 2015 Win64"
configuration: Release
cmake_opts: "-DENABLE_JAVA_BINDINGS=0 -DNETEDIT=0"
PYTHON: C:\Python38-x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
ver: 2017
generator: "Visual Studio 15 2017 Win64"
configuration: Release
cmake_opts: "-DENABLE_JAVA_BINDINGS=0 -DNETEDIT=0"
PYTHON: C:\Python38-x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
ver: 2019
generator: "Visual Studio 16 2019"
configuration: Release
cmake_opts: "-DENABLE_JAVA_BINDINGS=0 -DCHECK_OPTIONAL_LIBS=0 -DNETEDIT=0 -A x64"
PYTHON: C:\Python38-x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
ver: 2019
generator: "Visual Studio 16 2019"
configuration: Release
cmake_opts: "-DENABLE_JAVA_BINDINGS=0 -DCHECK_OPTIONAL_LIBS=0 -DNETEDIT=0 -A x64"
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 -DCHECK_OPTIONAL_LIBS=0 -DNETEDIT=0 -A x64"
PYTHON: C:\Python38-x64
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
# ver: 2022
# generator: "Ninja"
# configuration: Release
# cmake_opts: "-DENABLE_JAVA_BINDINGS=0"
# PYTHON: C:\Python38-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%" -DPYTHON_EXECUTABLE=%PYTHON%\python.exe %cmake_opts% &&
cmake --build . --config %configuration% -j 4 && cd .. &&
%PYTHON%\python.exe tools\build_config\setup-libsumo.py bdist_wheel
matrix:
fast_finish: true
artifacts:
- path: bin
type: zip
- path: dist\*