-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
44 lines (36 loc) · 1.44 KB
/
appveyor.yml
File metadata and controls
44 lines (36 loc) · 1.44 KB
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
version: 1.0.{build}
image: Visual Studio 2019
environment:
VS_VERSION: vs2019
MODULE_NAME: cserial
NELSON_USED: 0.4.6
NELSON_BUILD: 2603
NELSON_URL: https://github.com/Nelson-numerical-software/nelson/releases/download/v%NELSON_USED%
BUILD_CHAIN_DIR: c:\build_chain\module
MODULE_GIT_URL: https://github.com/NelsonModules/cserial.git#%APPVEYOR_REPO_COMMIT%
DESTINATION_DIRECTORY: c:\build_chain\module
branches:
only:
- master
platform:
- x86
- x64
install:
- if %platform%==x64 (set NELSON_ARCH=x86-64) else (set NELSON_ARCH=x86-32)
- if %platform%==x64 (set NELSON_PLATFORM=x64) else (set NELSON_PLATFORM=win32)
- set URL=%NELSON_URL%/Nelson-%NELSON_USED%.%NELSON_BUILD%-%NELSON_ARCH%.zip
- ps: (new-object net.webclient).DownloadFile($env:URL, "C:\build_chain\nelson.zip")
- 7z x -y C:\build_chain\nelson.zip -oC:\build_chain 1>NUL
build_script:
- C:\build_chain\Nelson-%NELSON_USED%.%NELSON_BUILD%\bin\%NELSON_PLATFORM%\nelson-adv-cli.exe --quiet -f C:\build_chain\Nelson-%NELSON_USED%.%NELSON_BUILD%\tools\module_CI\module_CI.nls
- C:\build_chain\Nelson-%NELSON_USED%.%NELSON_BUILD%\bin\%NELSON_PLATFORM%\nelson-cli.exe --quiet -f C:\build_chain\Nelson-%NELSON_USED%.%NELSON_BUILD%\tools\module_CI\display_CI.nls
artifacts:
- path: ./%MODULE_NAME%*.nmz
- path: ./tests-*.xml
- path: ./tests-*.json
notifications:
- provider: Email
to:
- nelson.numerical.computation@gmail.com
# clone directory
clone_folder: c:\build_chain\module