forked from EvilBeaver/OneScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
43 lines (41 loc) · 1.14 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
image: Visual Studio 2017
version: 1.0.20-alpha{build}
pull_requests:
do_not_increment_build_number: true
configuration: Release
platform: x86
assembly_info:
patch: true
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
nuget:
project_feed: false
disable_publish_on_pr: true
init:
- ps: Set-WinSystemLocale ru-RU
- ps: Start-Sleep -s 5
- ps: Restart-Computer
install:
- cmd: choco install onescript.cli -Source http://myget.org/F/onescript -y
- cmd: refreshenv
- cmd: opm install opm
- cmd: opm install oscript-config
before_build:
- nuget restore src/1Script_Mono.sln
build:
project: src/1Script_Mono.sln
publish_nuget: false
verbosity: minimal
test_script:
- cmd: >-
opm install -l asserts
opm install -l logos
echo "lib.system=C:/Program Files (x86)/OneScript/lib" > src/oscript/bin/x86/Release/net452/oscript.cfg
- cmd: appveyor-runtests.cmd
after_build:
- 7z a oscript.zip %APPVEYOR_BUILD_FOLDER%/src/oscript/bin/x86/Release/net452/*.dll
- 7z a oscript.zip %APPVEYOR_BUILD_FOLDER%/src/oscript/bin/x86/Release/net452/*.exe
artifacts:
- path: oscript.zip
name: oscript.zip