2017-10-27 01:04:16 +08:00
|
|
|
sudo: required
|
2017-10-27 01:33:15 +08:00
|
|
|
dist: trusty
|
|
|
|
|
2019-01-02 21:27:42 +08:00
|
|
|
language: node_js
|
2020-07-16 15:32:59 +08:00
|
|
|
node:
|
2021-06-24 17:18:37 +08:00
|
|
|
- 14
|
2017-10-27 01:33:15 +08:00
|
|
|
|
2021-08-22 05:10:52 +08:00
|
|
|
if: tag IS blank AND commit_message =~ ci-build
|
2020-07-16 18:40:47 +08:00
|
|
|
|
2020-03-15 04:37:09 +08:00
|
|
|
jobs:
|
2017-10-27 01:04:16 +08:00
|
|
|
include:
|
2020-07-16 15:32:59 +08:00
|
|
|
- name: "macOS"
|
2019-01-02 21:15:43 +08:00
|
|
|
os: osx
|
2021-06-24 17:13:19 +08:00
|
|
|
osx_image: "xcode12.5"
|
2020-01-26 02:07:39 +08:00
|
|
|
script:
|
2020-10-27 22:32:30 +08:00
|
|
|
- electron-builder --publish=always
|
2019-01-03 00:08:58 +08:00
|
|
|
|
2019-01-09 23:19:12 +08:00
|
|
|
- name: "Windows"
|
2019-01-09 23:01:12 +08:00
|
|
|
os: osx
|
2021-06-24 17:13:19 +08:00
|
|
|
osx_image: "xcode12.5"
|
2020-01-26 02:07:39 +08:00
|
|
|
script:
|
2021-03-06 02:03:19 +08:00
|
|
|
- electron-builder -w --x64 --ia32 --publish=onTagOrDraft
|
2021-02-21 02:05:17 +08:00
|
|
|
- node ./scripts/rename_portable.js
|
2021-03-06 02:03:19 +08:00
|
|
|
- electron-builder --windows portable --ia32 --publish=onTagOrDraft
|
2020-01-24 01:53:36 +08:00
|
|
|
|
2019-01-02 21:15:43 +08:00
|
|
|
- name: "Linux"
|
2019-07-18 00:02:07 +08:00
|
|
|
os: linux
|
|
|
|
script:
|
|
|
|
- sudo apt-get install rpm
|
2020-07-16 15:32:59 +08:00
|
|
|
- electron-builder --publish=onTagOrDraft
|
2017-10-27 01:33:15 +08:00
|
|
|
|
2017-10-27 01:04:16 +08:00
|
|
|
cache:
|
|
|
|
directories:
|
2019-01-03 00:16:05 +08:00
|
|
|
- node_modules
|
2017-10-27 01:33:15 +08:00
|
|
|
|
2017-10-27 01:04:16 +08:00
|
|
|
install:
|
2020-07-16 15:32:59 +08:00
|
|
|
- npm install
|
2019-01-02 22:04:45 +08:00
|
|
|
|
2019-01-02 21:20:12 +08:00
|
|
|
notifications:
|
|
|
|
email: false
|