mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
28 lines
987 B
YAML
28 lines
987 B
YAML
machine:
|
|
services:
|
|
- docker
|
|
|
|
dependencies:
|
|
override:
|
|
- docker info
|
|
- docker pull thewtex/cross-compiler-base
|
|
- docker pull thewtex/cross-compiler-android-arm
|
|
- docker pull thewtex/cross-compiler-browser-asmjs
|
|
|
|
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
|
|
- make browser-asmjs
|
|
- docker run --rm -v ~/cross-compilers/test/:/usr/src/test:ro thewtex/cross-compiler-browser-asmjs python /usr/src/test/run.py --emulator /usr/bin/node --exe-suffix ".js"
|
|
|
|
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
|