2020-06-25 23:05:38 +08:00
|
|
|
osx_image: xcode8.3
|
|
|
|
sudo: required
|
|
|
|
dist: xenial
|
|
|
|
language: node_js
|
2020-06-26 02:57:55 +08:00
|
|
|
workspaces:
|
|
|
|
use:
|
|
|
|
- binaries
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
- "$HOME/.electron"
|
|
|
|
- "$HOME/.cache"
|
|
|
|
addons:
|
|
|
|
before_install:
|
|
|
|
install:
|
|
|
|
- source ~/.bashrc
|
|
|
|
- npm install -g xvfb-maybe
|
|
|
|
- npm install
|
2020-06-25 23:05:38 +08:00
|
|
|
node_js:
|
|
|
|
- 10.15.3
|
2020-06-25 22:14:36 +08:00
|
|
|
jobs:
|
2019-11-06 05:43:18 +08:00
|
|
|
include:
|
2020-06-26 03:13:20 +08:00
|
|
|
- stage: Build binaries
|
2020-06-26 03:25:37 +08:00
|
|
|
os: windows
|
2020-06-26 13:40:38 +08:00
|
|
|
script:
|
|
|
|
- npm run build
|
2020-06-26 14:31:30 +08:00
|
|
|
- mkdir windows-binaries
|
|
|
|
- mv build/flightgear-airports* windows-binaries
|
|
|
|
- ls windows-binaries
|
2020-06-26 03:13:20 +08:00
|
|
|
workspaces:
|
2020-06-26 03:42:27 +08:00
|
|
|
create:
|
|
|
|
name: windows-binaries
|
2020-06-26 13:20:34 +08:00
|
|
|
paths: windows-binaries
|
2020-06-26 03:13:20 +08:00
|
|
|
- os: linux
|
2020-06-26 13:40:38 +08:00
|
|
|
script:
|
|
|
|
- npm run build
|
2020-06-26 14:31:30 +08:00
|
|
|
- mkdir windows-binaries
|
|
|
|
- mv build/flightgear-airports* linux-binaries
|
|
|
|
- ls linux-binaries
|
2020-06-26 03:13:20 +08:00
|
|
|
workspaces:
|
|
|
|
create:
|
|
|
|
name: linux-binaries
|
2020-06-26 13:20:34 +08:00
|
|
|
paths: linux-binaries
|
2020-06-26 03:13:20 +08:00
|
|
|
- os: osx
|
2020-06-26 13:40:38 +08:00
|
|
|
script:
|
|
|
|
- npm run build
|
2020-06-26 14:31:30 +08:00
|
|
|
- mkdir osx-binaries
|
|
|
|
- mv build/flightgear-airports* osx-binaries
|
|
|
|
- ls osx-binaries
|
2020-06-26 03:13:20 +08:00
|
|
|
workspaces:
|
|
|
|
create:
|
|
|
|
name: osx-binaries
|
2020-06-26 13:20:34 +08:00
|
|
|
paths: osx-binaries
|
2020-06-25 22:55:42 +08:00
|
|
|
- stage: Deploy
|
2020-06-26 15:30:09 +08:00
|
|
|
install:
|
|
|
|
- pwd
|
2020-06-26 16:02:25 +08:00
|
|
|
- ls -l | grep "^d"
|
2020-06-26 15:44:13 +08:00
|
|
|
- cp linux-binaries/* build/
|
|
|
|
- cp windows-binaries/* build/
|
|
|
|
- cp osx-binaries/* build/
|
2020-06-26 15:30:09 +08:00
|
|
|
script: skip
|
2020-06-25 22:14:36 +08:00
|
|
|
workspaces:
|
2020-06-25 22:55:42 +08:00
|
|
|
use:
|
2020-06-26 03:13:20 +08:00
|
|
|
- windows-binaries
|
|
|
|
- linux-binaries
|
|
|
|
- osx-binaries
|
2020-06-25 22:55:42 +08:00
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
overwrite: true
|
|
|
|
draft: true
|
|
|
|
name: '0.0.15'
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: Xm3z86gQmpSajvlXSVgG7mxcaS5K7GfE4HrARIDR4pQ4UguQ3/fFOenRyKAQImmH0kLCSIbVE21NMAQ3YI2F9El9I6GU7Wirccsg14TZZiBQAzKOTXZ+JsBloeBxuTOsR84SkO6pV8OT/pRnQd9frqyc1W7wzoX+0sQykMztXCNfI+1MXXGOAgMzlKuDMO1PVENz0V63mWipL/Mae/SyrHa1Bws+4LJKvv42m0HMKdN7ekt41vxcSUvLmN+YLlqUEVr/eUhQXUNCaWlmM0KxmfuzTedca5/1yzLvN8smEt2I2b0DFRM3Mi/QdI22fVRHs6XGpm8yqZRKmhySDXFspXKWBiuCF6AezX6NiIe/ZUh10gIukjkyLtrNk/o29qhj2WE9HJz4xhsGMAx3632cLSMPku5ALN7jv5scWjwCGNHs4ZeZyyePMeGM6Y6pje1uJPbxWGjwoV6iI4Y4esP+z3KcXvZdnzkpYMy2mzdT4gf7A7zieax1YwB6U/MEanXYKFBH4yzYK9+hx3ck2eLT3LcV/ChHN2bKmERJdf18h+zI8e5YKTzd3/kHLiUUv19N2a4TUYloGOyzrLwn2VD1Xm4jJVVLTIQvWbH5YK7cNkHYa4+PnsB+JppSoby7HiBcothw4OLpJO8eCMqXcPRU1n+cRAZTB7VOS7pWh8e8LFE=
|
|
|
|
file_glob: true
|
2020-06-26 05:01:51 +08:00
|
|
|
file: build/*
|
2020-06-25 22:55:42 +08:00
|
|
|
on:
|
|
|
|
branches: '0.0.15'
|
|
|
|
repo: Portree-Kid/flightgear-airports
|