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