mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-07-14 05:11:50 +02:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user