2019-07-20 15:13:16 +02:00
|
|
|
version: 1.0.{build}
|
|
|
|
image: Visual Studio 2019
|
2019-06-13 11:12:42 +02:00
|
|
|
configuration:
|
2019-07-20 15:13:16 +02:00
|
|
|
- Debug
|
|
|
|
- Release
|
|
|
|
platform: Win32
|
2019-05-19 23:05:06 +02:00
|
|
|
environment:
|
|
|
|
APPVEYOR_SAVE_CACHE_ON_ERROR: true
|
|
|
|
install:
|
2019-07-20 15:13:16 +02:00
|
|
|
- cmd: >-
|
|
|
|
git submodule update --init --recursive
|
|
|
|
|
|
|
|
premake-vs2019.cmd
|
2019-05-19 23:05:06 +02:00
|
|
|
build:
|
2019-07-20 15:13:16 +02:00
|
|
|
project: build/re3.sln
|
2019-05-19 23:05:06 +02:00
|
|
|
verbosity: minimal
|
2019-07-20 15:13:16 +02:00
|
|
|
after_build:
|
|
|
|
- ps: >-
|
|
|
|
$releases = "https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases"
|
|
|
|
|
|
|
|
$name = "Ultimate-ASI-Loader.zip"
|
|
|
|
|
|
|
|
$latestRelease = Invoke-WebRequest $releases/latest -Headers @{"Accept"="application/json"}
|
|
|
|
|
|
|
|
$json = $latestRelease.Content | ConvertFrom-Json
|
|
|
|
|
|
|
|
$latestVersion = $json.tag_name
|
|
|
|
|
|
|
|
$url = "$releases/download/$latestVersion/$name"
|
|
|
|
|
2019-06-13 11:12:42 +02:00
|
|
|
|
2019-07-20 15:13:16 +02:00
|
|
|
Start-FileDownload $url -FileName 'C:\Ultimate-ASI-Loader.zip'
|
|
|
|
|
|
|
|
7z e c:\Ultimate-ASI-Loader.zip -oc:\Projects\re3\bin\${env:CONFIGURATION}
|
|
|
|
|
|
|
|
|
|
|
|
cd "bin\${env:CONFIGURATION}"
|
|
|
|
|
|
|
|
copy re3.dll re3.asi
|
|
|
|
|
|
|
|
7z u "RE3_${env:CONFIGURATION}+UAL.zip" re3.asi dinput8.dll
|
|
|
|
|
|
|
|
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
|
|
artifacts:
|
|
|
|
- path: bin/%CONFIGURATION%/re3.dll
|
|
|
|
name: re3.dll
|