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