forked from LeonBlade/xnbcli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
39 lines (32 loc) · 893 Bytes
/
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
environment:
nodejs_version: "10"
image:
- Visual Studio 2017
platform:
- x86
- x64
cache:
- node_modules
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm i
- npm i -g pkg
- pkg -t win-%PLATFORM% xnbcli.js
- cp node_modules/dxt/build/Release/dxt.node .
- cp node_modules/lz4/build/Release/lz4.node .
- cp node_modules/lz4/build/Release/xxhash.node .
- 7z a xnbcli-windows-%PLATFORM%.zip xnbcli.exe dxt.node lz4.node xxhash.node packed unpacked unpack.bat pack.bat
artifacts:
- path: xnbcli-windows-%PLATFORM%.zip
name: xnbcli-windows
build: off
deploy:
tag: $(appveyor_repo_tag_name)
release: $(appveyor_repo_tag_name)
provider: GitHub
auth_token:
secure: O6Rsj+hoS5X7Q1u7TjtFwjRN53ohwjF8Mik/BpVidoefAag5FfpxoWqS5GTdJECG
artifact: xnbcli-windows-%PLATFORM%.zip
on:
branch: master
appveyor_repo_tag: true