android-arm: Test and deploy with CircleCI.

Although adding

  --emulator /usr/bin/qemu-arm -b CMake --linker-flags="-static"

To the test command works locally, the CMake tests fail on CircleCI. May this
is due to a kernel difference? Will investigate adding again later after
CircleCI updates in kernel (it is currently Ubuntu 12.04).

The "-static" linker flag used during testing is explained here:

  https://www.kitware.com/blog/home/post/893
This commit is contained in:
Matt McCormick
2016-03-06 21:38:38 -05:00
parent 0e8478d1db
commit 609605b1c5
2 changed files with 54 additions and 19 deletions

View File

@ -6,11 +6,14 @@ dependencies:
override:
- docker info
- docker pull thewtex/cross-compiler-base
- docker pull thewtex/cross-compiler-android-arm
test:
override:
- make base
- docker run --rm -v ~/cross-compilers/test/:/usr/src/test:ro thewtex/cross-compiler-base python /usr/src/test/run.py --emulator 'sh -c'
- make android-arm
- docker run --rm -v ~/cross-compilers/test/:/usr/src/test:ro thewtex/cross-compiler-android-arm python /usr/src/test/run.py
deployment:
hub:
@ -18,3 +21,4 @@ deployment:
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push thewtex/cross-compiler-base
- docker push thewtex/cross-compiler-android-arm