-
Notifications
You must be signed in to change notification settings - Fork 151
/
.appveyor.yml
133 lines (129 loc) · 4.51 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
clone_depth: 50
branches:
only:
- master
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
CONFIGURATION: Release
XCODE_VERSION: 13.4.1
- APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
CONFIGURATION: Debug
XCODE_VERSION: 14.2.0
- APPVEYOR_BUILD_WORKER_IMAGE: macos-ventura
CONFIGURATION: Release
XCODE_VERSION: 14.3.0
- APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
CONFIGURATION: Debug
XCODE_VERSION: 15.2.0
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
AUDIO_DRIVER: Alsa
CONFIGURATION: Release
GENERATOR: Ninja
CXX: clang++-12
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
AUDIO_DRIVER: Jack
CONFIGURATION: Debug
GENERATOR: Ninja
CXX: clang++-11
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
AUDIO_DRIVER: Alsa
CONFIGURATION: Release
GENERATOR: Ninja
CXX: clang++-10
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
AUDIO_DRIVER: Alsa
CONFIGURATION: Release
GENERATOR: Ninja
CXX: g++-11
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
AUDIO_DRIVER: Jack
CONFIGURATION: Debug
GENERATOR: Ninja
CXX: g++-10
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
AUDIO_DRIVER: Alsa
CONFIGURATION: Release
GENERATOR: Ninja
CXX: g++-9
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
AUDIO_DRIVER: Wasapi
THREAD_DESCRIPTION: OFF
CONFIGURATION: Debug
GENERATOR: Visual Studio 14 2015 Win64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
AUDIO_DRIVER: Wasapi
THREAD_DESCRIPTION: OFF
CONFIGURATION: Release
GENERATOR: Visual Studio 14 2015 Win64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
AUDIO_DRIVER: Asio
THREAD_DESCRIPTION: OFF
CONFIGURATION: Release
GENERATOR: Visual Studio 15 2017 Win64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
AUDIO_DRIVER: Asio
THREAD_DESCRIPTION: ON
CONFIGURATION: Release
GENERATOR: Visual Studio 16 2019
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
AUDIO_DRIVER: Wasapi
THREAD_DESCRIPTION: ON
CONFIGURATION: Debug
GENERATOR: Visual Studio 17 2022
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
ESP_IDF: true
IDF_RELEASE: v5.1.1
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
FORMATTING: true
install:
- git submodule update --init --recursive
for:
- matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
- APPVEYOR_BUILD_WORKER_IMAGE: macos-ventura
- APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
build_script:
- sudo xcode-select -s /Applications/Xcode-$XCODE_VERSION.app
- python3 ci/configure.py --generator Xcode
- python3 ci/build.py --configuration $CONFIGURATION
test_script:
- python3 ci/run-tests.py --target LinkCoreTest
- python3 ci/run-tests.py --target LinkDiscoveryTest
- matrix:
only:
# Ubuntu2004 but not ESP_IDF or FORMATTING
- GENERATOR: Ninja
install:
- git submodule update --init --recursive
- sudo apt-get install -y libjack-dev portaudio19-dev valgrind
build_script:
- python3 ci/configure.py --audio-driver $AUDIO_DRIVER --generator "$GENERATOR" --configuration $CONFIGURATION
- python3 ci/build.py
test_script:
- python3 ci/run-tests.py --target LinkCoreTest --valgrind
- python3 ci/run-tests.py --target LinkDiscoveryTest --valgrind
- matrix:
only:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
build_script:
- py -3 -m pip install setuptools
- py -3 ci/configure.py --audio-driver %AUDIO_DRIVER% --thread-description %THREAD_DESCRIPTION% --generator "%GENERATOR%" --flags="-DCMAKE_SYSTEM_VERSION=10.0.18362.0"
- py -3 ci/build.py --configuration %CONFIGURATION%
test_script:
- py -3 ci/run-tests.py --target LinkCoreTest
- py -3 ci/run-tests.py --target LinkDiscoveryTest
- matrix:
only:
- ESP_IDF: true
build_script:
- docker run --rm -v $APPVEYOR_BUILD_FOLDER:/link -w /link/examples/esp32 -e LC_ALL=C.UTF-8 espressif/idf:$IDF_RELEASE idf.py build
- matrix:
only:
- FORMATTING: true
build_script:
- docker run -v $APPVEYOR_BUILD_FOLDER:/link dalg24/clang-format:18.04.0 python /link/ci/check-formatting.py -c /usr/bin/clang-format-6.0