forked from arkuznetsov/clientSSH
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
56 lines (38 loc) · 1.33 KB
/
Copy pathappveyor.yml
File metadata and controls
56 lines (38 loc) · 1.33 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
45
46
47
48
49
50
51
52
53
54
55
56
version: 0.4.50.{build}
environment:
main_project: oscript-component
before_build:
- ps: nuget restore
init:
- REG ADD "HKLM\Software\Microsoft\Command Processor" /v Autorun /t REG_SZ /d "chcp 65001>nul" /f
- ps: Set-WinSystemLocale ru-RU
- ps: Start-Sleep -s 5
- ps: Restart-Computer
install:
- cmd: >-
mkdir engine
cd engine
appveyor DownloadFile http://oscript.io/downloads/latest/exe -FileName os.exe
os.exe /silent
set PATH=%ProgramFiles(x86)%\OneScript\bin;%PATH%
cd ..
appveyor DownloadFile https://github.com/dmpas/OneScriptDocumenter/releases/download/1.0.13/documenter.zip -FileName OneScriptDocumenter.zip
7z x OneScriptDocumenter.zip > NUL
oscript -version
opm install opm
build:
verbosity: minimal
configuration: Release
test_script:
- cmd: nunit3-console --x86 NUnitTests\bin\%CONFIGURATION%\NUnitTests.dll
after_build:
- cmd: >-
del %main_project%\bin\%CONFIGURATION%\*.pdb
mkdir bin
OneScriptDocumenter.exe json bin\syntaxHelp.json %main_project%\bin\%CONFIGURATION%\%main_project%.dll
del %main_project%\bin\%CONFIGURATION%\ScriptEngine*.* %main_project%\bin\%CONFIGURATION%\NewtonSoft*.* %main_project%\bin\%CONFIGURATION%\DotNetZip*.*
xcopy %main_project%\bin\%CONFIGURATION%\* bin\
opm build .
artifacts:
- path: .\*.ospx
name: component