forked from ParadoxGameConverters/EU4ToVic2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
35 lines (30 loc) · 1.27 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
version: dev.{build}
skip_tags: true
image: Visual Studio 2019 Preview
configuration: Release
environment:
BOOST_INCLUDE: C:\Libraries\boost_1_67_0
build_script:
- cmd: >-
git submodule update --init --recursive
msbuild EU4ToVic2.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
msbuild EU4toV2/EU4ToV2.vcxproj -property:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
msbuild EU4ToVic2Tests/EU4ToVic2Tests.vcxproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
test_script:
- ps: >-
vstest.console /logger:Appveyor frontend\Frontend.Core.Tests\bin\Release\Frontend.Core.Tests.dll
EU4ToVic2Tests\Release\EU4ToVic2Tests.exe --gtest_output=xml:tests.xml
(new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests.xml))
artifacts:
- path: Release
name: EU4ToVic2
deploy:
- provider: GitHub
release: windows_development_build
description: The most recent build of the development version
auth_token:
secure: LBJzs4y9j0N5y0ajp7gmVk3Pvnec1UU5pTCdIMbQYUddEXQnWTJ79FXsd9SCs7YQ
repository: paradoxGameConverters/EU4ToVic2
artifact: EU4ToVic2
prerelease: true
force_update: true