forked from Archive/PX4-Autopilot
circleci update to tolerate submodule changes (#5451)
- remove broken ccache setup
This commit is contained in:
parent
4a5eae23a2
commit
f07cd13fe8
13
circle.yml
13
circle.yml
|
@ -4,17 +4,22 @@ machine:
|
|||
|
||||
checkout:
|
||||
post:
|
||||
# workaround for known git bug where attempting to fetch a missing commit fails early on the first try
|
||||
- git submodule update --init || true
|
||||
- git submodule sync --recursive
|
||||
- git submodule update --init --recursive
|
||||
|
||||
## Customize dependencies
|
||||
dependencies:
|
||||
cache_directories:
|
||||
- "~/.ccache"
|
||||
pre:
|
||||
- docker pull px4io/px4-dev-nuttx-gcc4.9
|
||||
|
||||
test:
|
||||
override:
|
||||
- docker run --rm -v `pwd`:`pwd`:rw -w=`pwd` -v $HOME/.ccache:$HOME/.ccache:rw -e CCACHE_DIR=$HOME/.ccache --user=$UID -it px4io/px4-dev-nuttx-gcc4.9 /bin/bash -c "ccache -z; make px4fmu-v4_default; ccache -s"
|
||||
- docker run --rm -v `pwd`:`pwd`:rw -w=`pwd` --user=$UID -it px4io/px4-dev-nuttx-gcc4.9 /bin/bash -c "make quick_check"
|
||||
|
||||
general:
|
||||
artifacts:
|
||||
- "build_px4fmu-v2_default/parameters.xml"
|
||||
- "build_px4fmu-v2_default/airframes.xml"
|
||||
- "build_.*/src/firmware/nuttx/.*.px4"
|
||||
|
||||
|
|
Loading…
Reference in New Issue