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

32 lines
1.0 KiB
YAML

machine:
services:
- docker
timezone:
Europe/Berlin
environment:
MAKEFLAGS: "j4"
BUILD__: "x86_64"
BTYPE__: "release"
dependencies:
cache_directories:
- "~/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:
- ./.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
- mkdir -p $CIRCLE_ARTIFACTS/"$BUILD__"/
- cp -av /home/ubuntu/workspace/"$BUILD__"/qtox/"$BTYPE__"/qtox.exe $CIRCLE_ARTIFACTS/"$BUILD__"/qtox_"$BTYPE__".exe
- cd /home/ubuntu/workspace/"$BUILD__"/qtox/"$BTYPE__"/ ; zip -r $CIRCLE_ARTIFACTS/"$BUILD__"/qtox_"$BUILD__"_"$BTYPE__".zip *
test:
override:
- echo "no tests yet"