mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
f02cc5632b
This commit fixes a regression introduced in e76eb01
84 lines
4.0 KiB
YAML
84 lines
4.0 KiB
YAML
machine:
|
|
# XXX: btrfs circleCI fix, see: https://github.com/docker/docker/issues/9939 and https://github.com/Sabayon/docker-stage3-base-amd64/commit/8c1bf737113a278dd2f
|
|
pre:
|
|
- sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.9.0-circleci'
|
|
- sudo chmod 0755 /usr/bin/docker
|
|
services:
|
|
- docker
|
|
|
|
dependencies:
|
|
override:
|
|
- docker info
|
|
- docker pull dockcross/base
|
|
- docker pull dockcross/android-arm
|
|
- docker pull dockcross/browser-asmjs
|
|
- docker pull dockcross/linux-arm64
|
|
- docker pull dockcross/linux-armv5
|
|
- docker pull dockcross/linux-armv6
|
|
- docker pull dockcross/linux-armv7
|
|
- docker pull dockcross/linux-ppc64le
|
|
- docker pull dockcross/linux-x64
|
|
- docker pull dockcross/linux-x86
|
|
- docker pull dockcross/windows-x64
|
|
- docker pull dockcross/windows-x86
|
|
|
|
test:
|
|
override:
|
|
- make base
|
|
- docker run --rm dockcross/base > ./dockcross-base && chmod +x ./dockcross-base
|
|
- ./dockcross-base python test/run.py --emulator 'sh -c'
|
|
- make android-arm
|
|
- docker run --rm dockcross/android-arm > ./dockcross-android-arm && chmod +x ./dockcross-android-arm
|
|
- ./dockcross-android-arm python test/run.py
|
|
- make browser-asmjs
|
|
- docker run --rm dockcross/browser-asmjs > ./dockcross-browser-asmjs && chmod +x ./dockcross-browser-asmjs
|
|
- ./dockcross-browser-asmjs python test/run.py --emulator /usr/bin/node --exe-suffix ".js"
|
|
- make linux-arm64
|
|
- docker run --rm dockcross/linux-arm64 > ./dockcross-linux-arm64 && chmod +x ./dockcross-linux-arm64
|
|
- ./dockcross-linux-arm64 python test/run.py --emulator /usr/bin/qemu-aarch64
|
|
- make linux-armv5
|
|
- docker run --rm dockcross/linux-armv5 > ./dockcross-linux-armv5 && chmod +x ./dockcross-linux-armv5
|
|
- ./dockcross-linux-armv5 python test/run.py --emulator /usr/bin/qemu-arm
|
|
- make linux-armv6
|
|
- docker run --rm dockcross/linux-armv6 > ./dockcross-linux-armv6 && chmod +x ./dockcross-linux-armv6
|
|
- ./dockcross-linux-armv6 python test/run.py --emulator /usr/bin/qemu-arm
|
|
- make linux-armv7
|
|
- docker run --rm dockcross/linux-armv7 > ./dockcross-linux-armv7 && chmod +x ./dockcross-linux-armv7
|
|
- ./dockcross-linux-armv7 python test/run.py --emulator /usr/bin/qemu-arm
|
|
- ./dockcross-linux-armv7 && chmod +x ./dockcross-linux-armv7 && ./dockcross-linux-armv7 bash -c '$CC test/C/hello.c -o hello_arm'
|
|
- make linux-ppc64le
|
|
- docker run --rm dockcross/linux-ppc64le > ./dockcross-linux-ppc64le && chmod +x ./dockcross-linux-ppc64le
|
|
- ./dockcross-linux-ppc64le python test/run.py --emulator /usr/bin/qemu-ppc64le --languages C
|
|
- make linux-x64
|
|
- docker run --rm dockcross/linux-x64 > ./dockcross-linux-x64 && chmod +x ./dockcross-linux-x64
|
|
- ./dockcross-linux-x64 python test/run.py
|
|
- make linux-x86
|
|
- docker run --rm dockcross/linux-x86 > ./dockcross-linux-x86 && chmod +x ./dockcross-linux-x86
|
|
- ./dockcross-linux-x86 python test/run.py
|
|
- make windows-x64:
|
|
timeout: 3000
|
|
- docker run --rm dockcross/windows-x64 > ./dockcross-windows-x64 && chmod +x ./dockcross-windows-x64
|
|
- ./dockcross-windows-x64 python test/run.py --emulator /usr/bin/wine --exe-suffix ".exe"
|
|
- make windows-x86:
|
|
timeout: 3000
|
|
- docker run --rm dockcross/windows-x86 > ./dockcross-windows-x86 && chmod +x ./dockcross-windows-x86
|
|
- ./dockcross-windows-x86 python test/run.py --emulator /usr/bin/wine --exe-suffix ".exe"
|
|
|
|
deployment:
|
|
hub:
|
|
branch: master
|
|
commands:
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
|
- docker push dockcross/base
|
|
- docker push dockcross/android-arm
|
|
- docker push dockcross/browser-asmjs
|
|
- docker push dockcross/linux-arm64
|
|
- docker push dockcross/linux-armv5
|
|
- docker push dockcross/linux-armv6
|
|
- docker push dockcross/linux-armv7
|
|
- docker push dockcross/linux-ppc64le
|
|
- docker push dockcross/linux-x64
|
|
- docker push dockcross/linux-x86
|
|
- docker push dockcross/windows-x64
|
|
- docker push dockcross/windows-x86
|