-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathappveyor.yml
65 lines (53 loc) · 1.8 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
version: 1.0.{build}
branches:
only:
- master
configuration: Release
platform: x64
#clone_depth: 5
# specific to github and bitbucket: get a ZIP file using REST API
shallow_clone: true
init:
- curl -LsSO http://ffmpeg.zeranoe.com/builds/win64/dev/ffmpeg-2.8.3-win64-dev.7z
- 7z x ffmpeg-2.8.3-win64-dev.7z -o.
- mkdir C:\Dev\
- mkdir C:\Dev\ffmpeg-win64-dev
- move ffmpeg-2.8.3-win64-dev\lib C:\Dev\ffmpeg-win64-dev
- move ffmpeg-2.8.3-win64-dev\include C:\Dev\ffmpeg-win64-dev
- del /Q *.7z
- rmdir /Q /S ffmpeg-2.8.3-win64-dev
- dir C:\Dev
- dir C:\Dev\ffmpeg-win64-dev\include
- dir C:\Dev\ffmpeg-win64-dev\lib
environment:
BITBUCKET_PASSWORD:
secure: ah/zb5h/z49InzWbvkFOrw==
matrix:
- nodejs_version: 0.10.40
- nodejs_version: 0.12.7
- nodejs_version: 4.2.3
- nodejs_version: 5.1.0
install:
- ps: >-
Install-Product node $env:nodejs_version x64
npm -v
node -v
npm install --production --msvs_version=2013
build:
parallel: true
verbosity: minimal
after_build:
- curl -LsSO http://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-2.8.3-win64-shared.7z
- 7z x ffmpeg-2.8.3-win64-shared.7z -o.
- move ffmpeg-2.8.3-win64-shared\bin\* build\Release
- rmdir /Q /S ffmpeg-2.8.3-win64-shared
- del /Q *.7z
#- rmdir /Q /S .git
- mkdir C:\Build\
- 7z a -ttar C:\Build\node-demux_win_%nodejs_version%.tar C:\projects\node-demux\
- 7z a -tgzip C:\Build\node-demux_win_%nodejs_version%.tar.gz C:\Build\node-demux_win_%nodejs_version%.tar
- move C:\Build\node-demux_win_%nodejs_version%.tar.gz C:\projects\node-demux
- curl -O https://bitbucket.org/tmarrinan/binary-modules/raw/master/bitbucket_upload.js
- node bitbucket_upload.js tmarrinan %BITBUCKET_PASSWORD% tmarrinan/binary-modules node-demux_win_%nodejs_version%.tar.gz
- dir
test: off