forked from kiibohd/configurator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
79 lines (63 loc) · 1.54 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# appveyor integration for kiibohd/configurator
image: Visual Studio 2015
# Environment Variables
environment:
PACKAGE_NAME: kiibohd-configurator
GH_TOKEN:
secure: vsCcKfR71BF5WWBmtzNzowpU96iPjuF3cD7yBdEySG0ku2svWAJRgdSj9je/He35
matrix:
- platform: x86
PACKAGE_OS: win32
nodejs_version: "10"
ARCH: ia32
- platform: x64
PACKAGE_OS: win32
nodejs_version: "10"
ARCH: x64
configuration:
- Release
cache:
- node_modules
# Commands run before cloning git repo
init:
- git config --global core.autocrlf true
install:
# # Directory tree to validate configurator.git
# - Tree /F
# Get version of node.js
- ps: Install-Product node $env:nodejs_version
- npm --version
- yarn --version
# Install electron and dependencies
# - yarn global add node-pre-gyp
- yarn
- yarn rebuild-deps
# Build Commands
build_script:
# Build electron binary
- yarn dist --%ARCH% --publish onTagOrDraft
## Deployment Artifacts
#artifacts:
# - path: output\%PACKAGE-NAME%-*.zip
# name: zip-file
#
# -path
#
#
## Deployment (tagged releases only)
#deploy:
# # GitHub Releases
# - provider: GitHub
# auth_token:
# secure: vsCcKfR71BF5WWBmtzNzowpU96iPjuF3cD7yBdEySG0ku2svWAJRgdSj9je/He35
# draft: true
# prerelease: true
# description: 'Electron-based UI for configuring programmable keyboards designed by Input Club'
# artifact: build_artifact
# # Conditions for uploading release
# on:
# appveyor_repo_tag: true
## Post Build Commands
#on_finish:
# - cd output
# - Tree /F