-
Notifications
You must be signed in to change notification settings - Fork 84
/
appveyor.yml
51 lines (44 loc) · 1.36 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
image: Visual Studio 2017
platform:
- x64
# Workaround for esy/esy#388
environment:
HOME: C:\Users\appveyor
cache:
- C:\Users\appveyor\.esy
- examples/bs-3.1.5/node_modules/
- examples/example-project/node_modules/
- examples/example-es6-imports/node_modules/
- examples/example-react/node_modules/
- examples/name_with_underscore/node_modules/
- examples/example-esy-dune-project/node_modules/
- _esy
- node_modules
install:
# The x64 is required as a workaround for esy/esy#412
- ps: Install-Product node 8 x64
- npm install -g [email protected]
# Retry is necessary due to esy/esy#413 and esy/esy#414
- appveyor-retry esy install
build_script:
- esy build
# Validate binary
# - esy dune exec Bin -- --help
- esy exec-command --include-build-env cp _build/install/default/bin/ExamplesTests ExamplesTests.exe
- esy exec-command --include-build-env cp _build/install/default/bin/Bin bin.exe
- ExamplesTests.exe
artifacts:
- path: bin.exe
name: Windows Build
type: File
deploy:
- provider: GitHub
repository: jaredly/reason-language-server
auth_token:
secure: uD+IOsS6NN/5Y0E6FFbEhQNWCRE7Ur5cmfPAI2auvK8OCVz1ruf0rU8v8akII9hp
draft: false
prerelease: false
force_update: true
on:
branch: master
appveyor_repo_tag: true