46 lines
922 B
YAML
46 lines
922 B
YAML
matrix:
|
|
include:
|
|
- os: linux
|
|
sudo: required
|
|
- os: linux
|
|
sudo: required
|
|
env: BUILDARCH=ia32
|
|
# - os: linux
|
|
# sudo: required
|
|
# env: BUILDARCH=arm64
|
|
- os: osx
|
|
|
|
language: node_js
|
|
node_js: "8"
|
|
|
|
before_install:
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
|
- ./install_deps.sh
|
|
- . get_repo.sh
|
|
- . check_tags.sh
|
|
|
|
script:
|
|
- ./build.sh
|
|
|
|
before_deploy:
|
|
- ./create_zip.sh
|
|
|
|
deploy:
|
|
provider: releases
|
|
skip_cleanup: true
|
|
overwrite: true
|
|
name: $LATEST_MS_TAG
|
|
api_key: $GITHUB_TOKEN
|
|
file_glob: true
|
|
file:
|
|
- ./*.zip
|
|
- ./*.tar.gz
|
|
- vscode/.build/linux/deb/i386/deb/*.deb
|
|
- vscode/.build/linux/rpm/i386/*.rpm
|
|
- vscode/.build/linux/deb/amd64/deb/*.deb
|
|
- vscode/.build/linux/rpm/x86_64/*.rpm
|
|
- vscode/.build/linux/deb/arm64/deb/*.deb
|
|
on:
|
|
all_branches: true
|
|
condition: $SHOULD_BUILD = yes
|