diff options
author | 2021-06-08 04:47:40 +0530 | |
---|---|---|
committer | 2021-06-08 04:47:40 +0530 | |
commit | 76b9acc16543e873ba647c847b37a3e12ec20b11 (patch) | |
tree | 23fdedffcf8ee7435a76ba0e91b64ad05501075f /appveyor.yml | |
parent | New translations en-US.json (Korean) (diff) | |
download | ferdium-app-76b9acc16543e873ba647c847b37a3e12ec20b11.tar.gz ferdium-app-76b9acc16543e873ba647c847b37a3e12ec20b11.tar.zst ferdium-app-76b9acc16543e873ba647c847b37a3e12ec20b11.zip |
Builds using GitHub actions (#1467)
* Using GH Actions for building, packaging and publishing for all 3 OSes (macos, ubuntu and windows). Handles PR builds, release builds, scheduled nightly builds and manual triggering from the web-ui.
* Removed references to travis and appveyor and their respective config files.
* Added ability to force rebuild nightlies without new version number. (This should allow us to rerun nightly builds with the same build number. Looks for the trigger comment to contain: 'force build' and 'nightly branch')
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 7fd061523..000000000 --- a/appveyor.yml +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | version: build-{build} | ||
2 | branches: | ||
3 | only: | ||
4 | - develop | ||
5 | - nightly | ||
6 | - release | ||
7 | skip_tags: true | ||
8 | skip_branch_with_pr: true | ||
9 | |||
10 | cache: | ||
11 | - '%APPDATA%\npm-cache' | ||
12 | - node_modules | ||
13 | - '%USERPROFILE%\.electron' | ||
14 | - '%USERPROFILE%\.electron-builder' | ||
15 | |||
16 | image: Visual Studio 2019 | ||
17 | |||
18 | environment: | ||
19 | nodejs_version: "14.16.1" | ||
20 | |||
21 | install: | ||
22 | - appveyor-retry git submodule update --init --recursive | ||
23 | - ps: Update-NodeJsInstallation $env:nodejs_version | ||
24 | - cmd: set NODE_OPTIONS=--max-old-space-size=2048 | ||
25 | - cd recipes && npm i && npm run package && cd .. | ||
26 | - appveyor-retry npx lerna bootstrap | ||
27 | |||
28 | before_build: | ||
29 | - npm run lint && npm test | ||
30 | - cmd: set NODE_ENV=production | ||
31 | |||
32 | build_script: | ||
33 | - appveyor-retry npm run build | ||
34 | |||
35 | for: | ||
36 | - | ||
37 | branches: | ||
38 | only: | ||
39 | - develop | ||
40 | build_script: | ||
41 | - appveyor-retry npm run build | ||
42 | skip_commits: | ||
43 | files: | ||
44 | - src/i18n/**/*.json | ||
45 | - | ||
46 | branches: | ||
47 | only: | ||
48 | - nightly | ||
49 | only_commits: | ||
50 | message: /trigger AppVeyor nightly build/ | ||
51 | build_script: | ||
52 | - appveyor-retry npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=nightlies | ||
53 | - | ||
54 | branches: | ||
55 | only: | ||
56 | - release | ||
57 | build_script: | ||
58 | - appveyor-retry npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=ferdi | ||