forked from ni/VireoSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
59 lines (58 loc) · 1.81 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
branches:
except:
- gh-pages
image: Visual Studio 2017
init:
- tzutil /s "Central Standard Time"
- cmd: node -v
- cmd: npm -v
- cmd: python -V
- cmd: pip -V
- ps: $PSVersionTable
install:
- ps: Install-Product node 8
- appveyor-retry chocolatey install make
- appveyor-retry chocolatey install gnuwin32-coreutils.portable
- appveyor-retry npm install
- pip install tox
- ps: Start-Process npm "run httpbin" -PassThru
- git clone https://github.com/juj/emsdk.git
- cd emsdk && git checkout 2da530aa5e6d6bcaf994ed1b2613a98872a428c8 && cd ..
- ps: emsdk\emsdk install sdk-1.37.36-64bit
- ps: emsdk\emsdk activate sdk-1.37.36-64bit
platform:
- Win32
configuration:
- Debug
before_build:
# TODO capture standard out and error to log at the end?
# TODO script needed to wait for server startup?
- make lint
- npm run lint
build:
project: Vireo_VS/VireoCommandLine.sln
after_build:
- cmd /c make-it\appveyor-support\setup-env-and-make-vjs.bat
test_script:
- make testjs
- make testnative
- make testhttpbin
- npm run test -- --browsers FirefoxHeadless
- npm run test -- --browsers IE --skip-tags FailsIE
# Using the same naming convention as rust https://forge.rust-lang.org/platform-support.html
after_test:
- set ESH_i686_DEBUG=esh_%APPVEYOR_REPO_TAG_NAME%_i686-pc-windows-msvc_debug.zip
- 7z a %ESH_i686_DEBUG% %APPVEYOR_BUILD_FOLDER%\dist\Debug\esh.exe %APPVEYOR_BUILD_FOLDER%\dist\Debug\esh.pdb %APPVEYOR_BUILD_FOLDER%\README.md %APPVEYOR_BUILD_FOLDER%\LICENSE.txt
artifacts:
- path: '%ESH_i686_DEBUG%'
name: '%ESH_i686_DEBUG%'
type: Zip
deploy:
provider: GitHub
description: $(APPVEYOR_REPO_COMMIT_MESSAGE)
auth_token:
secure: Asuu2xJwFoy8ML6DIsZf2mqlgdO2b1dQRCJALbYpUFNP/3DjuhBPDcWiSxTK6iw/
artifact: '%ESH_i686_DEBUG%'
force_update: true
on:
appveyor_repo_tag: true