-
Notifications
You must be signed in to change notification settings - Fork 107
/
appveyor.yml
39 lines (32 loc) · 1.01 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
version: 1.8.1.{build}
image: Visual Studio 2019
init:
- cmd: choco install msbuild.communitytasks
- ps: Set-WinSystemLocale ru-RU
- ps: Start-Sleep -s 5
- ps: Restart-Computer
environment:
ReleaseNumber: 2.0.3
InnoSetupPath: C:/Program Files (x86)/Inno Setup 6
StandardLibraryPacks: C:/Program Files (x86)/OneScript/lib
install:
- cmd: choco install onescript-cli -y
before_build:
- dotnet restore src/1Script.sln
build_script:
- cmd: |
msbuild src/1Script.sln /t:restore
dotnet publish src\OneScriptDocumenter\OneScriptDocumenter.csproj -o doctool
msbuild Build.csproj /t:CleanAll;PrepareDistributionContent /p:OneScriptDocumenter="doctool\OneScriptDocumenter.exe"
test_script:
- cmd: |
set oscript=built\tmp\bin\oscript.exe
set opm=built\tmp\lib\opm\src\cmd\opm.os
%oscript% %opm% install asserts
%oscript% %opm% install logos
msbuild Build.csproj /t:xUnitTest
artifacts:
- path: built/OneScript-*.exe
- path: built/OneScript-*.zip
- path: built/mddoc-*.zip
- path: tests/tests.xml