dockcross/circle.yml
Matt McCormick 609605b1c5 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
2016-03-07 11:25:49 -05:00

25 lines
732 B
YAML

machine:
services:
- docker
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:
branch: master
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