mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
609605b1c5
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
25 lines
732 B
YAML
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
|