Commit Graph

139 Commits

Author SHA1 Message Date
Peter Barker c902260925 Tools: remove extra running of unit tests from build_ci.sh 2018-09-03 09:57:38 +01:00
Francisco Ferreira 37b9e76737 Tools: update CI scripts
Remove old CMake PPA (Trusty has a more recent version)
Remove ccache from APT install since we build it from source
Update ccache to version 3.4.2
Add extra checks for compiler presence
Since no ccache DB is saved between builds we don't limit its size anymore and Make builds can use it
2018-08-30 16:34:56 -07:00
Peter Barker 4543604085 Tools: scripts: build_ci.sh: build and run unit tests in ci 2018-08-31 07:59:25 +10:00
Andrew Tridgell f202ff87e2 Tools: only build one target for revo-mini 2018-06-24 08:26:28 +10:00
Andrew Tridgell 4cafcc4eae travis: added revo-bootloader to CI
this ensures the bootloader build will keep working
2018-06-23 17:06:38 +10:00
Peter Barker e9a07bdd6f Tools: create CHIBIOS_GIT_VERSION build-time define 2018-06-18 19:10:37 +01:00
Michael du Breuil dcc25838fb CI: Run param parse last, on all CI instances
This makes param parse failures much more obvious in the CI logs, as
well as ensuring that both Semaphore and Travis will fail on bad
parameter data (which should reduce user confusion when one service
passes and the other fails).
2018-06-05 09:11:09 +10:00
Lucas De Marchi 997d9f58de build: invert default for header checks
In the end the build time is always almost the same, but it's a pain to
change one header and have it check the world. CI continues to use the
check so we can get any mistake before merging.
2018-05-04 11:47:04 -07:00
Michael du Breuil f19d01332b Tools: Reintroduce arduplane to CI script 2018-04-11 13:26:29 +10:00
Michael du Breuil a7cdca030c Tools: Split sitl tests into per vehicle tasks 2018-01-23 13:34:54 +09:00
Francisco Ferreira 84efe7e6f5
Tools: ci: reduce ccache sizes 2017-09-08 16:33:15 +01:00
Francisco Ferreira be88b5a6e8
Tools: ci: get ccache statistics for SITL test 2017-09-08 16:33:15 +01:00
Francisco Ferreira 129fde128a
Tools: ci: let waf decide number of jobs for building SITL test 2017-09-08 16:33:15 +01:00
Francisco Ferreira aa6b997a0b
Tools: ci: use number of CPUs to choose number of jobs on Make builds 2017-09-08 16:33:15 +01:00
Francisco Ferreira c073263c8d
Tools: ci: disable ccache for Make builds 2017-09-08 16:33:15 +01:00
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
2017-09-08 16:33:14 +01:00
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
2017-07-18 14:15:39 +01:00
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
2017-07-18 14:15:38 +01:00
Peter Barker aec7091faa autotest: Add support for Sub in sim_vehicle.py 2017-02-21 11:26:14 +11:00
Pierre Kancir 9ca0873042 Autotest : add simple test for Rover 2016-12-19 13:32:27 +00:00
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
2016-11-16 02:24:27 +00:00
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
2016-11-11 19:59:52 +00:00
Peter Barker 084862a999 Tools: build_ci.sh: make target not required in Replay directory 2016-09-19 12:56:42 +10:00
Francisco Ferreira ec0a80b6f4 ci: increase ccache size
make based builds require more space
insert exception for sitltest
2016-05-25 22:14:47 -03:00
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
2016-05-25 11:39:07 -03:00
Francisco Ferreira 292251e2aa ci: add time to complete make builds 2016-05-25 11:38:59 -03:00
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
2016-05-25 11:38:51 -03:00
Francisco Ferreira f7f90546d1 ci: build PX4 with waf again 2016-05-18 15:36:48 -03:00
Francisco Ferreira efc3f5058b ci: simplify build script 2016-05-11 22:48:03 -03:00
Staroselskii Georgii 1605e34f7d Tools: added Navio 2 build to CI
This way Navio 2 will be built on Travis.
2016-04-29 16:48:36 -03:00
Francisco Ferreira 0f69b49ff1 ci: add ccache to clang builds 2016-04-17 14:47:55 -03:00
Francisco Ferreira b5faf9c361 ci: allow build systems to use ccache more efficiently 2016-04-17 14:47:55 -03:00
Andrew Tridgell 8408428339 travis: disable px4 builds in waf for now
they are broken by the PX4Firmware merge
2016-04-14 08:05:06 +10:00
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
2016-03-20 00:17:02 -03:00
Gustavo Jose de Sousa 38da32853a ci: use --enable-benchmarks in waf configure 2016-02-22 15:36:48 -03:00
Andrew Tridgell 119cf6bb13 ci: added sitltest target
this adds some basic SITL testing to our CI
2016-02-22 12:34:32 +11:00
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.
2016-02-01 14:08:39 -02:00
Ricardo de Almeida Gonzaga 0db54e7b36 ci: change TRAVIS_BUILD_TARGET to CI_BUILD_TARGET on build_ci.sh 2016-01-20 14:19:07 -02:00
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/
2016-01-20 14:19:07 -02:00