Skip to content
Snippets Groups Projects
Commit f07cd13f authored by Daniel Agar's avatar Daniel Agar Committed by GitHub
Browse files

circleci update to tolerate submodule changes (#5451)

- remove broken ccache setup
parent 4a5eae23
No related branches found
No related tags found
No related merge requests found
...@@ -4,17 +4,22 @@ machine: ...@@ -4,17 +4,22 @@ machine:
checkout: checkout:
post: 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 sync --recursive
- git submodule update --init --recursive - git submodule update --init --recursive
## Customize dependencies
dependencies: dependencies:
cache_directories:
- "~/.ccache"
pre: pre:
- docker pull px4io/px4-dev-nuttx-gcc4.9 - docker pull px4io/px4-dev-nuttx-gcc4.9
test: test:
override: 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment