2015-11-04 14:33:43 +00:00
|
|
|
version: '{build}'
|
2015-11-04 14:30:27 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- WX_3_0_BRANCH
|
|
|
|
|
2017-11-25 09:46:39 +00:00
|
|
|
skip_commits:
|
|
|
|
files:
|
|
|
|
- docs/
|
|
|
|
- interface/
|
|
|
|
- misc/
|
2020-04-22 15:18:11 +00:00
|
|
|
- include/wx/osx/
|
|
|
|
- src/osx/
|
2020-04-21 21:05:38 +00:00
|
|
|
- .travis.yml
|
2020-04-22 13:25:31 +00:00
|
|
|
- build/tools/travis-ci.sh
|
|
|
|
- build/tools/before_install.sh
|
2017-11-25 09:46:39 +00:00
|
|
|
|
2015-11-04 14:30:27 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- TOOLSET: msbuild
|
|
|
|
CONFIGURATION: DLL Release
|
|
|
|
ARCH: x64
|
|
|
|
wxUSE_STL: 1
|
|
|
|
- TOOLSET: nmake
|
|
|
|
VS: '9.0'
|
|
|
|
BUILD: release
|
|
|
|
ARCH: x86
|
|
|
|
wxUSE_STL: 0
|
|
|
|
- TOOLSET: nmake
|
|
|
|
VS: '14.0'
|
|
|
|
BUILD: debug
|
|
|
|
ARCH: amd64
|
|
|
|
wxUSE_STL: 1
|
|
|
|
- TOOLSET: mingw
|
2015-11-05 02:07:15 +00:00
|
|
|
wxUSE_STL: 0
|
2015-11-04 14:30:27 +00:00
|
|
|
- TOOLSET: msys2
|
|
|
|
MSYSTEM: MINGW32
|
|
|
|
- TOOLSET: cygwin
|
2016-10-05 08:16:30 +00:00
|
|
|
- TOOLSET: cmake
|
|
|
|
GENERATOR: 'Visual Studio 12'
|
|
|
|
SHARED: ON
|
|
|
|
CONFIGURATION: Release
|
2018-09-25 17:46:21 +00:00
|
|
|
- TOOLSET: cmake_qt
|
|
|
|
GENERATOR: 'Visual Studio 14 2015 Win64'
|
|
|
|
SHARED: ON
|
|
|
|
CONFIGURATION: Release
|
2015-11-04 14:30:27 +00:00
|
|
|
|
|
|
|
clone_depth: 50
|
|
|
|
|
2017-11-10 14:23:20 +00:00
|
|
|
install: git submodule update --init
|
|
|
|
|
2018-09-25 17:57:40 +00:00
|
|
|
init:
|
|
|
|
- ps: |
|
|
|
|
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
|
|
|
|
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
|
|
|
|
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
|
|
|
|
throw "There are newer queued builds for this pull request, failing early." }
|
|
|
|
|
2015-11-04 14:30:27 +00:00
|
|
|
before_build:
|
|
|
|
- ps: |
|
Remove the correct directory from PATH for MinGW AppVeyor builds
We need to remove the directory containing sh.exe from the PATH as
otherwise mingw32-make seems to use it and not cmd.exe for executing the
commands in the makefile, but the wrong directory was being removed in
appveyor.yml, having no effect.
Fix this and undo 5f2ccde269278860d7afbe1ca101a1b69370fbfb which
compensated for it by (almost) clearing the PATH entirely which, in
turn, broke one of our unit tests (and could break other things in the
future, as having an empty PATH is rather unexpected).
Also use the full path for head program now that its directory is not in
the PATH any more. Alternative could be to use PowerShell, but while
powershell -Command "'gcc','mingw32-make','ar'|%%{ iex \"$_ --version\"|select -first 1 }"
does work, it looks really ugly, so avoid it for now.
See https://github.com/wxWidgets/wxWidgets/pull/142
See #17274.
2017-11-25 14:59:16 +00:00
|
|
|
$env:PATH = $env:PATH -replace "C:\\Program Files\\Git\\usr\\bin",""
|
2015-11-04 14:30:27 +00:00
|
|
|
if (($env:compiler -ne "msys2") -and ($env:compiler -ne "cygwin")) {
|
|
|
|
gc include\wx\msw\setup0.h |
|
|
|
|
%{$_ -replace "define wxUSE_STL 0", "define wxUSE_STL $env:wxUSE_STL"} |
|
|
|
|
sc include\wx\msw\setup.h
|
|
|
|
}
|
|
|
|
|
2017-11-22 14:37:34 +00:00
|
|
|
build_script: c:\projects\wxwidgets\build\tools\appveyor.bat
|
2015-11-04 14:30:27 +00:00
|
|
|
|
2017-11-22 14:37:34 +00:00
|
|
|
test_script: c:\projects\wxwidgets\build\tools\appveyor-test.bat
|