2018-08-13 21:24:40 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
2018-10-05 01:05:05 +03:00
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
env: BUILDARCH=ia32
|
2018-10-11 21:46:14 +03:00
|
|
|
# - os: linux
|
|
|
|
# sudo: required
|
|
|
|
# env: BUILDARCH=arm64
|
2018-08-13 21:24:40 +03:00
|
|
|
- os: osx
|
2018-08-13 18:14:15 +03:00
|
|
|
|
2018-08-13 21:24:40 +03:00
|
|
|
language: node_js
|
|
|
|
node_js: "8"
|
2018-08-13 18:14:15 +03:00
|
|
|
|
|
|
|
before_install:
|
2018-11-13 19:58:05 +03:00
|
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
|
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
2018-08-13 18:14:15 +03:00
|
|
|
- ./install_deps.sh
|
2018-08-14 17:25:54 +03:00
|
|
|
- . get_repo.sh
|
|
|
|
- . check_tags.sh
|
2018-08-13 18:14:15 +03:00
|
|
|
|
|
|
|
script:
|
|
|
|
- ./build.sh
|
2019-01-24 01:01:32 +03:00
|
|
|
- ./trigger-azure.sh
|
2018-08-13 18:14:15 +03:00
|
|
|
|
|
|
|
before_deploy:
|
|
|
|
- ./create_zip.sh
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
skip_cleanup: true
|
2018-09-10 23:18:00 +03:00
|
|
|
overwrite: true
|
|
|
|
name: $LATEST_MS_TAG
|
2018-08-13 21:24:40 +03:00
|
|
|
api_key: $GITHUB_TOKEN
|
2018-08-13 18:14:15 +03:00
|
|
|
file_glob: true
|
2018-08-15 18:59:54 +03:00
|
|
|
file:
|
|
|
|
- ./*.zip
|
|
|
|
- ./*.tar.gz
|
2018-10-05 01:05:05 +03:00
|
|
|
- vscode/.build/linux/deb/i386/deb/*.deb
|
|
|
|
- vscode/.build/linux/rpm/i386/*.rpm
|
2018-08-15 18:59:54 +03:00
|
|
|
- vscode/.build/linux/deb/amd64/deb/*.deb
|
|
|
|
- vscode/.build/linux/rpm/x86_64/*.rpm
|
2018-10-10 18:20:56 +03:00
|
|
|
- vscode/.build/linux/deb/arm64/deb/*.deb
|
2018-08-13 18:14:15 +03:00
|
|
|
on:
|
2018-08-14 17:13:34 +03:00
|
|
|
all_branches: true
|
|
|
|
condition: $SHOULD_BUILD = yes
|