mirror of https://github.com/qTox/qTox.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.5 KiB
54 lines
1.5 KiB
--- |
|
version: 2.1 |
|
jobs: |
|
build: |
|
machine: true |
|
steps: |
|
- checkout |
|
- run: |
|
name : Export environment variables |
|
command: | |
|
echo 'export MAKEFLAGS="j4"' >> $BASH_ENV |
|
echo 'export BUILD__="x86_64"' >> $BASH_ENV |
|
echo 'export BTYPE__="release"' >> $BASH_ENV |
|
docker info |
|
- run: |
|
name: Install zip |
|
command: | |
|
sudo apt-get update |
|
sudo apt-get install zip tree |
|
- restore_cache: |
|
key: dependency-cache |
|
paths: |
|
- ~/cache |
|
- run: |
|
name: Build stage 1 |
|
command: | |
|
./.travis/build-windows.sh "$BUILD__" "$BTYPE__" "~/cache/${BUILD__}" stage1 |
|
- run: |
|
name: Build stage 2 |
|
command: | |
|
./.travis/build-windows.sh "$BUILD__" "$BTYPE__" "~/cache/${BUILD__}" stage2 |
|
ls -al ~/cache |
|
- save_cache: |
|
key: dependency-cache |
|
paths: |
|
- ~/cache |
|
- run: |
|
name: Build stage 3 |
|
command: | |
|
./.travis/build-windows.sh "$BUILD__" "$BTYPE__" "~/cache/${BUILD__}" stage3 |
|
- run: |
|
name: Debug info |
|
command: | |
|
ls -al ~/ |
|
tree ~/project/workspace -L 4 |
|
- store_artifacts: |
|
path: "/home/circleci/project/workspace/x86_64/qtox/release/qtox-x86_64-release.zip" |
|
- store_artifacts: |
|
path: "/home/circleci/project/workspace/x86_64/qtox/release/setup-qtox-x86_64-release.exe" |
|
workflows: |
|
version: 2 |
|
build: |
|
jobs: |
|
- build
|
|
|