Michael du Breuil
a7cdca030c
Tools: Split sitl tests into per vehicle tasks
7 years ago
Francisco Ferreira
84efe7e6f5
Tools: ci: reduce ccache sizes
8 years ago
Francisco Ferreira
be88b5a6e8
Tools: ci: get ccache statistics for SITL test
8 years ago
Francisco Ferreira
129fde128a
Tools: ci: let waf decide number of jobs for building SITL test
8 years ago
Francisco Ferreira
aa6b997a0b
Tools: ci: use number of CPUs to choose number of jobs on Make builds
8 years ago
Francisco Ferreira
c073263c8d
Tools: ci: disable ccache for Make builds
8 years ago
Francisco Ferreira
80e784c93d
Tools: ci: only do Make builds in some special cases
...
build using Make system for PX4-v3 or, if it is a cron job, for all PX4 boards and SITL
8 years ago
Francisco Ferreira
83359e898a
Tools: update CI ccache version to 3.3.4
...
ccache 3.3.x uses CPP2 enabled by default so remove enabling it
8 years ago
Francisco Ferreira
540548f0aa
Tools: CI: only set shell to verbose after including profile
...
Travis has a very long .profile script, which is already shown in configure step, so there is no need to log it again in the build step
8 years ago
Peter Barker
aec7091faa
autotest: Add support for Sub in sim_vehicle.py
8 years ago
Pierre Kancir
9ca0873042
Autotest : add simple test for Rover
8 years ago
Francisco Ferreira
32cd49264e
travis: revert commit 52854a
...
Travis has fixed the issues with space so we can go back to building PX4 with make and waf
8 years ago
Francisco Ferreira
52854aab3b
travis: temporarily disabled waf build of PX4 boards
...
Travis is complaining about lack of space, their support is looking into it but for now disable waf to get job passing
8 years ago
Peter Barker
084862a999
Tools: build_ci.sh: make target not required in Replay directory
9 years ago
Francisco Ferreira
ec0a80b6f4
ci: increase ccache size
...
make based builds require more space
insert exception for sitltest
9 years ago
Francisco Ferreira
fe0c49ec54
ci: only run make builds for PX4 or when it is a scheduled job
...
Let waf figure out how many jobs to run
9 years ago
Francisco Ferreira
292251e2aa
ci: add time to complete make builds
9 years ago
Francisco Ferreira
a74a7e5dfe
ci: update ccache and improve its support
...
Update ccache to 3.2.5
Set ccache size
Display ccache statistics for each build
Disable ccache for configure phase
Export ccache bin path
travis: remove ccache stats before saving cache
9 years ago
Francisco Ferreira
f7f90546d1
ci: build PX4 with waf again
9 years ago
Francisco Ferreira
efc3f5058b
ci: simplify build script
9 years ago
Staroselskii Georgii
1605e34f7d
Tools: added Navio 2 build to CI
...
This way Navio 2 will be built on Travis.
9 years ago
Francisco Ferreira
0f69b49ff1
ci: add ccache to clang builds
9 years ago
Francisco Ferreira
b5faf9c361
ci: allow build systems to use ccache more efficiently
9 years ago
Andrew Tridgell
8408428339
travis: disable px4 builds in waf for now
...
they are broken by the PX4Firmware merge
9 years ago
Francisco Ferreira
34de26502d
ci: add Clang package
...
Use flags to tell Waf what compiler to use
Don't use Make build system if compiler is Clang
9 years ago
Gustavo Jose de Sousa
38da32853a
ci: use --enable-benchmarks in waf configure
9 years ago
Andrew Tridgell
119cf6bb13
ci: added sitltest target
...
this adds some basic SITL testing to our CI
9 years ago
Gustavo Jose de Sousa
7b0a6d301d
ci: use command 'all' instead of 'build' for waf
...
The command build uses 'bin' programs group by default. By using the command
'all', we tell the build system to build all programs.
9 years ago
Ricardo de Almeida Gonzaga
0db54e7b36
ci: change TRAVIS_BUILD_TARGET to CI_BUILD_TARGET on build_ci.sh
9 years ago
Ricardo de Almeida Gonzaga
e816a4845a
ci: rename build_all_travis.sh to build_ci.sh
...
Since we're going to support SemaphoreCI[1] besides Travis.
[1] - https://semaphoreci.com/
9 years ago
Andrew Tridgell
15c8a27d5e
scripts: added some debug to travis script
9 years ago
Gustavo Jose de Sousa
6ca58eac78
travis: fix verification for calling waf check
...
The use of `[[ $t == linux ]] && $waf check` makes the script exit with
non-zero status when $t isn't linux *and* that's the last thing executed.
9 years ago
Gustavo Jose de Sousa
d7f50ab668
travis: call waf check for linux
...
That helps preventing applying code that break unit tests.
9 years ago
Andrew Tridgell
3ea05759d1
travis: setup BUILDROOT to try to make builds faster
9 years ago
Gustavo Jose de Sousa
7d94095497
travis: unset CXX and CC at the beginning
...
Those environment variables are set by default by Travis. That fails cross
compilation with waf. There is a GitHub issue open related to that behavior at
https://github.com/travis-ci/travis-ci/issues/4682 . This change can be
reverted if eventually that is fixed.
9 years ago
Julien BERAUD
514b60cf5e
Tools: add bebop build to travis
9 years ago
Gustavo Jose de Sousa
9b7f365e3a
travis: fix waf calls
...
The path to waf became wrong after the decision of using waf as a submodule.
9 years ago
Gustavo Jose de Sousa
8456cb4532
travis: support waf build
...
Currently, an associative array variable waf_supported_boards is used to
trigger waf build only the currently supported boards. After the transition to
the new build system is done, that variable can be removed.
We're just building for now - there is a current issue related to the rotation
for solo, and it turns out that the first unit test added as an example is for
vector rotations. After that is solved we can use waf check, so that unit tests
are run as well.
9 years ago
Andrew Tridgell
672fc86d44
Travis: added px4-v4 to the travis build
9 years ago
Lucas De Marchi
17d9da4036
travis: use container infrastructure
...
In order to use the container infrastructure we can't use sudo to
install packages. Now Travis has a way to install packages by specifying
them in the .travis.yml. This greatly simplifies how we install the
packages and there's no need for a separate script anymore.
This also removes several outdated packages that aren't needed anymore.
9 years ago
Lucas De Marchi
ddc3988b4a
Travis: add minlure target
9 years ago
Lucas De Marchi
6cf1c5fdd6
Tools: add raspilot to travis builds
10 years ago
Andrew Tridgell
b03c6137a8
Travis: don't do APM2 build in travis any more
...
we no longer require APM2 compatibility for patches in master
10 years ago
Lucas De Marchi
ac09a61238
Travis: split build by target instead of vehicle
...
This way we can group together the builds that are fast so we pay the
"setup price" just once. Let the long PX4 build on its own VM because
it's the one that takes most of the time building NuttX.
By grouping the projects by target it's also easier to split the build
in more VMs if we want to speed up the build.
10 years ago
Lucas De Marchi
a435269839
Travis: make most targets run with -j2
...
As documented in Travis the VMs have 1.5 cores
(http://docs.travis-ci.com/user/speeding-up-the-build/#Parallelizing-your-build-on-one-VM ).
So let's make it only -j2.
The exception is PX4 build that runs without any -j setting since NuttX
fails to build if we do that.
10 years ago
Lucas De Marchi
985764fb1c
Travis: build APMrover2 and AntennaTracker for apm2
10 years ago
Lucas De Marchi
5c5bdc2c7b
Travis: use associative arrays
...
This makes the script be more declarative and easier to extend.
10 years ago
Lucas De Marchi
ae40aed2a2
Travis: split build using vehicle types
...
Travis build is timing out because it's taking too much time. Let's
split the build so 1) they can run concurrently and 2) we don't timeout.
We still lose some time due to multiple checkouts, but at least we don't
fail the build due to timeout.
10 years ago
Lucas De Marchi
a124fbc4c2
Travis: don't build same configuration multiple times
...
In ArduPlane "make all" is the same as "make sitl" and both sitl and
linux are already covered by the loop below. Don't build the same
configuration multiple times.
10 years ago
Staroselskii Georgii
c0dceb667d
Travis: reduced number of threads used for a build
10 years ago