Vadim Zeitlin
9b4852eef6
Install gdb for the CI builds
...
We can need it to get the backtrace in case of a crash.
2021-03-23 16:15:00 +01:00
Vadim Zeitlin
a47bb47165
Disable leak detection if debug symbols are unavailable
...
There just doesn't seem to be any way to make this work right now, so
handle dbgsym packages installation failure and disable leak detection
in this case.
Hopefully ddebs.ubuntu.com repository will be updated in the future,
allowing this to work again.
2021-03-23 14:09:05 +01:00
Vadim Zeitlin
c471699187
Show apt sources and preferences used in the CI builds
...
This may be useful to understand where do the packages come from.
2021-03-23 14:09:05 +01:00
Vadim Zeitlin
51d796b88b
Exit on first error in the before_install script
...
Any errors here are really fatal.
2021-03-23 14:09:05 +01:00
Vadim Zeitlin
9cb28353e7
Add a helper function to run apt-get
...
This simplifies the script and allows to log the commands in the build
log.
2021-03-23 14:09:05 +01:00
Vadim Zeitlin
d61719edde
Show packages not being installed in the build log
2021-03-23 14:09:05 +01:00
Vadim Zeitlin
bc7a7b0c2d
Hide confusing output from "tee --append"
...
This is used to just append to the file, not actually to see the output
of our own echo commands.
2021-03-23 14:09:05 +01:00
Vadim Zeitlin
4900c5e5b8
Don't use release-proposed repository for debug symbols
...
This seems to be unnecessary, as -proposed is not used for the actual
packages.
2021-03-23 14:09:05 +01:00
Vadim Zeitlin
899a5251fb
Run apt-get more quietly
...
Avoid unnecessary progress messages about reading the database.
2021-03-23 14:09:05 +01:00
Vadim Zeitlin
ce1d6162f7
Run apt-get install only once and not twice
...
Add -dbgsym packages to extra_deps and pass them to the same apt-get
command we use for installing all the other dependencies.
This is slightly faster and also makes it simpler to pass extra options
to apt-get, as we're going to do in the next commit.
2021-03-23 14:09:05 +01:00
Vadim Zeitlin
4dae461183
Move ASAN-specific packages installation
...
No changes yet, just reorganize things to make upcoming changes simpler.
2021-03-23 14:09:05 +01:00
Vadim Zeitlin
b5f7ed2169
Manually update expired key for ddebs.ubuntu.com repository
...
Retrieve the latest key, which was extended for another year.
See https://bugs.launchpad.net/ubuntu/+source/ubuntu-keyring/+bug/1920640
2021-03-22 23:23:56 +01:00
Vadim Zeitlin
2aba3ad0e1
Ignore leak from atk_bridge_adaptor_init() when using ASAN
...
There doesn't seem to be any way to avoid calling it or freeing
(multiple) memory blocks allocated by it.
2021-01-31 17:33:04 +01:00
Vadim Zeitlin
0718f641f5
Install more debug symbols for ASAN builds
...
Install glib and gtk symbols which are required to get full information
from the LeakSanitizer stack traces.
2021-01-31 17:32:34 +01:00
Vadim Zeitlin
f31a064848
Install libcurl to make it available in the CI builds
...
It's not installed by default at least on GitHub Actions images.
2021-01-28 00:04:39 +01:00
Vadim Zeitlin
7859163e66
Require specifying wxGTK_VERSION for wxGTK builds on Travis CI
...
This avoids accidentally using a wrong GTK version, as it happened for
e.g. ARM64 build.
2020-10-19 16:50:56 +02:00
Ilya Sinitsyn
0310347dc4
Add wxGTK build with ASAN to Travis CI
...
Compile and link with `-fsanitize=address` options to find memory related
errors.
2020-10-19 14:03:24 +02:00
Vadim Zeitlin
7cfe4ee9f2
Disable GUI parts build for PPC and S/390 Travis platforms
...
People are unlikely to use wxGTK on those anyhow, and it takes an
awfully long time to build, especially on PPC.
2020-04-22 18:26:02 +02:00
Vadim Zeitlin
ea11be554c
Install libpango1.0-dev for wxX11 build on Travis
...
Hopefully this is what explains pangoxft pkg-config check failure.
2020-04-22 17:56:45 +02:00
Vadim Zeitlin
babf789c54
Don't install unnecessary packages in Travis CI build script
...
It shouldn't be necessary to install GTK-specific packages when building
non-GTK-based ports.
2020-04-22 17:25:33 +02:00
Vadim Zeitlin
76ac2d8e76
Install Qt OpenGL support when building wxQt on Travis
...
Somehow this wasn't necessary on the old Ubuntu version, but is needed
under Bionic.
Ideally configure shouldn't refuse to build everything if just Qt5OpenGL
is not found, and just disable OpenGL support, but this enhancement can
be done later.
2020-04-22 17:12:03 +02:00
Maarten Bent
147dab61b3
Check for more webkit packages on TravisCI
2019-11-29 00:21:26 +01:00
Maarten Bent
de4eecc575
Install additional packages on Travis CI
...
Install packages for gstreamer, webkit, opengl and libsecret.
First check if the package is available.
2018-11-04 22:00:32 +01:00
Maarten Bent
d3628d8373
Build more toolkits with Travis CI
2018-09-19 22:00:01 +02:00
Maarten Bent
c341d72a92
Remove downloading CppUnit and CMake in Travis CI
...
CppUnit has been replaced by Catch.
The Precise build environment is not used, so no need to download CMake for it.
2018-01-28 16:31:12 +01:00
Vadim Zeitlin
2ee40f8a60
Add a build using GTK+ 3 to Travis
...
We need to test both wxGTK2 and wxGTK3 builds.
2017-11-22 02:33:53 +01:00
Vadim Zeitlin
38e441bdd8
Don't install libcppunit-dev under Travis CI any more
...
It is not needed since the switch to Catch for unit tests.
2017-11-22 02:31:47 +01:00
Vadim Zeitlin
6a3b6600dd
Test builds with newer g++, clang and OS X on Travis CI
...
Configure the build matrix to test building on more platforms and using clang
as well and also test C++11 builds using both g++ and clang.
2016-01-24 21:26:43 +01:00
Vadim Zeitlin
844a7e426a
Extract Travis before install script steps into a separate file
...
This allows to do make these steps more complicated, e.g. avoid using apt-get
under non-Linux (and even non-Debian/Ubuntu) platforms.
Also install GTK+ development package explicitly, while it's already available
on the older Travis Ubuntu 12.04 VMs, this is not the case for the newer 14.04
ones.
2016-01-24 21:25:31 +01:00