forked from bfgroup/Lyra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
112 lines (108 loc) · 3.27 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
# Use, modification, and distribution are
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE.txt)
#
# Copyright 2020-2022 René Ferdinand Rivera Morell.
branches:
only:
- develop
- release
- /feature[/].*/
- /issue[/].*/
skip_commits:
files:
- .circleci/*
- .drone.star
- .github/workflows/*
- .semaphore/*
- .travis.yml
- azure-pipelines.yml
environment:
matrix:
- {
job_name: "VS 2017",
COMPILER: "MSVC",
VSWHERE_VERSION: "[15.0,16.0)",
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017",
TOOLSET: "msvc",
TOOLSET_VERSION: "14.1",
}
- {
job_name: "VS 2015",
COMPILER: "MSVC",
VSWHERE_LEGACY: "[14.0,15.0)",
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015",
TOOLSET: "msvc",
TOOLSET_VERSION: "14.0",
}
- {
job_name: "MinGW-w64 8.1",
COMPILER: "WIN-MINGW",
CXXPATH: 'C:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\bin',
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022",
TOOLSET: "gcc",
}
- {
job_name: "MinGW-w64 7.3",
COMPILER: "WIN-MINGW",
CXXPATH: 'C:\\mingw-w64\\x86_64-7.3.0-posix-seh-rt_v5-rev0\\mingw64\\bin',
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017",
TOOLSET: "gcc",
}
- {
job_name: "MinGW-w64 6.3",
COMPILER: "WIN-MINGW",
CXXPATH: 'C:\\mingw-w64\\x86_64-6.3.0-posix-seh-rt_v5-rev1\\mingw64\\bin',
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015",
TOOLSET: "gcc",
}
for:
- matrix:
only:
- COMPILER: "MSVC"
install:
- cmd: |
choco install vswhere
cd "%APPVEYOR_BUILD_FOLDER%/.."
curl "https://github.com/bfgroup/b2/archive/release.zip" -L -o b2.zip
7z x b2.zip
cd b2-release
bootstrap.bat
b2.exe install -d0 b2-install-layout=portable --prefix=%APPVEYOR_BUILD_FOLDER%/../bin
echo using %TOOLSET% ^: %TOOLSET_VERSION% ^; > %HOMEDRIVE%%HOMEPATH%/user-config.jam
cd "%APPVEYOR_BUILD_FOLDER%"
build_script:
- cmd: |
echo .
test_script:
- cmd: |
echo TEST..
CALL .ci/windows-msvc-setup.cmd
cd %APPVEYOR_BUILD_FOLDER%/tests
%APPVEYOR_BUILD_FOLDER%/../bin/b2.exe --debug-configuration toolset=%TOOLSET%
- matrix:
only:
- COMPILER: "WIN-MINGW"
install:
- cmd: |
choco install vswhere
cd "%APPVEYOR_BUILD_FOLDER%/.."
curl "https://github.com/bfgroup/b2/archive/release.zip" -L -o b2.zip
7z x b2.zip
cd b2-release
set CXX_S=%CXX%
set CXX=
bootstrap.bat
set CXX=%CXX_S%
b2.exe install -d0 b2-install-layout=portable --prefix=%APPVEYOR_BUILD_FOLDER%/../bin
echo using %TOOLSET% ^: %TOOLSET_VERSION% ^; > %HOMEDRIVE%%HOMEPATH%/user-config.jam
cd "%APPVEYOR_BUILD_FOLDER%"
build_script:
- cmd: |
echo .
test_script:
- cmd: |
echo TEST..
set PATH=%CXXPATH%;%PATH%
cd %APPVEYOR_BUILD_FOLDER%/tests
%APPVEYOR_BUILD_FOLDER%/../bin/b2.exe --debug-configuration toolset=%TOOLSET%