Commit Graph

13 Commits

Author SHA1 Message Date
Vadim Zeitlin
c66c9c5ae6 Merge branch 'build_cmake' of https://github.com/TcT2k/wxWidgets
Add CMake-based build system.

Merge the original branch without any changes except for resolving the
conflict due to moving the contents of .travis.yml to a separate file by
propagating the changes done in this file since then to the new script
and rerunning ./build/update-setup-h and ./build/cmake/update_files.py
to update the file lists changed in the meanwhile.

Closes https://github.com/wxWidgets/wxWidgets/pull/330
2017-12-09 15:09:47 +01:00
Vadim Zeitlin
cf02d15646 Merge branch 'appveyor-tests'
Fix several problems in tests under MSW (mostly with MinGW) and enable
building and running them on AppVeyor CI.
2017-11-25 19:18:14 +01:00
Vadim Zeitlin
b29aa3f785 Run unit tests on AppVeyor too
Launch the tests after building them.
2017-11-25 17:30:51 +01:00
Vadim Zeitlin
f10bd1279d 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 5f2ccde269 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 17:28:42 +01:00
Vadim Zeitlin
075ebbe12a Skip AppVeyor CI builds on documentation-only changes
There is no need to rebuild everything if only the documentation files
have changed.

Unfortunately there doesn't seem to be any way to do the same thing for
Travis CI yet, see https://github.com/travis-ci/travis-ci/issues/6301
2017-11-25 10:47:50 +01:00
Vadim Zeitlin
e35aff4684 Checkout submodules in Appveyor builds
Unlike Travis CI, Appveyor doesn't do this automatically, but we will
need them soon (the currently existing Catch submodule is not used by
Appveyor builds but, arguably, should be too).
2017-11-10 17:44:03 +01:00
Vadim Zeitlin
70c057ed8a Revert "Test using previous build platform for AppVeyor"
This reverts commit b05d864f5e as it
didn't help with Python-related build failures, finally.
2017-11-03 16:58:33 +01:00
Vadim Zeitlin
b05d864f5e Test using previous build platform for AppVeyor
Try fixing Python-related build failures in Cygwin build by using the
previous version of the image, before the latest update.
2017-11-01 23:47:18 +01:00
Tobias Taschner
9338e68371
Add CMake to Appveyor
Build with “Visual Studio 12 (2013)” 32-bit Release DLLs
Other configurations can later be added in the appveyor.yml
2017-01-03 20:53:12 +01:00
Maarten Bent
d891e2708c Stop AppVeyor build if a newer PR commit exists
As suggested in https://github.com/appveyor/ci/issues/38#issuecomment-70628826.

Closes https://github.com/wxWidgets/wxWidgets/pull/196
2016-02-03 22:42:47 +01:00
Bryan Petty
3de5077c7a Fixed missing wxUSE_STL config for MinGW AppVeyor build. 2015-11-04 19:07:15 -07:00
Bryan Petty
8fc8b6f110 Quick fix to version string in AppVeyor config. 2015-11-04 07:33:43 -07:00
Bryan Petty
2090988484 Added initial AppVeyor config. 2015-11-04 07:31:05 -07:00