当前位置: 首页 > 文档资料 > PX4 开发指南 >

测试和持续集成 - 持续集成

优质
小牛编辑
186浏览
2023-12-01

translated_page: https://github.com/PX4/Devguide/blob/master/en/test_and_ci/continous_integration.md

translated_sha: 95b39d747851dd01c1fe5d36b24e59ec865e323e

PX4 Continuous Integration

PX4 builds and testing are spread out over multiple continuous integration services.

Travis-ci

Travis-ci is responsible for the official stable/beta/development binaries that are flashable through QGroundControl. It currently uses GCC 4.9.3 included in the docker image px4io/px4-dev-base and compiles px4fmu-{v1, v2, v4}, mindpx-v2, tap-v1 with makefile target qgc_firmware.

Travis-ci also has a MacOS posix sitl build which includes testing.

Semaphore

Semaphore is primarily used to compile changes for the Qualcomm Snapdragon platform, but also serves as a backup to Travis-ci using the the same px4io/px4-dev-base docker image. In addition to the set of firmware compiled by Travis-ci, Semaphore also builds for the stm32discovery, crazyflie, runs unit testing, and verifies code style.

CircleCI

CircleCI tests the proposed next version of GCC to be used for stable firmware releases using the docker image px4io/px4-dev-nuttx-gcc_next. It uses the makefile target quick_check which compiles px4fmu-v4_default, posix_sitl_default, runs testing, and verifies code style.