1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(CI): use TravisCI scripts also for CircleCI

This commit is contained in:
sudden6 2018-01-06 12:23:36 +01:00
parent 9a54246d47
commit 76de40d95e
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -9,24 +9,16 @@ machine:
BTYPE__: "release"
dependencies:
cache_directories:
- "~/workspace/i686/dep-cache/*"
- "~/workspace/x86_64/dep-cache/*"
- "~/cache/*"
pre:
- sudo apt-get update
- sudo apt-get install zip
- docker info
- ./.travis/build-windows.sh "$BUILD__" "$BTYPE__" ~/cache/"$BUILD__" stage1
- ./.travis/build-windows.sh "$BUILD__" "$BTYPE__" ~/cache/"$BUILD__" stage2
compile:
override:
- mkdir -p ~/workspace
- mkdir -p ~/script
- cp -av ./windows/cross-compile/build.sh ~/script/
- docker run --rm
-v /home/ubuntu/workspace:/workspace
-v /home/ubuntu/script:/script
-v /home/ubuntu/qTox:/qtox
debian:stretch-slim
/bin/bash /script/build.sh "$BUILD__" "$BTYPE__"
- ./.travis/build-windows.sh "$BUILD__" "$BTYPE__" ~/cache/"$BUILD__" stage3
- ls -al /home/ubuntu/workspace/"$BUILD__"/qtox/"$BTYPE__"/
- ls -al /home/ubuntu/workspace/"$BUILD__"/qtox/"$BTYPE__"/qtox.exe