summaryrefslogtreecommitdiffstats
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorThirteenAG <thirteenag@gmail.com>2019-07-20 15:13:16 +0200
committerThirteenAG <thirteenag@gmail.com>2019-07-20 15:13:16 +0200
commita8dfcc25c72c076ba9d95c59ddfb88789625e027 (patch)
tree310318d59c9b397ad3f50464654ec514c00e6204 /.appveyor.yml
parentfixed dodo bug (diff)
downloadre3-a8dfcc25c72c076ba9d95c59ddfb88789625e027.tar
re3-a8dfcc25c72c076ba9d95c59ddfb88789625e027.tar.gz
re3-a8dfcc25c72c076ba9d95c59ddfb88789625e027.tar.bz2
re3-a8dfcc25c72c076ba9d95c59ddfb88789625e027.tar.lz
re3-a8dfcc25c72c076ba9d95c59ddfb88789625e027.tar.xz
re3-a8dfcc25c72c076ba9d95c59ddfb88789625e027.tar.zst
re3-a8dfcc25c72c076ba9d95c59ddfb88789625e027.zip
Diffstat (limited to '')
-rw-r--r--.appveyor.yml52
1 files changed, 39 insertions, 13 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index d3f57374..c87ddb7a 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,20 +1,46 @@
-image: Visual Studio 2017
+version: 1.0.{build}
+image: Visual Studio 2019
configuration:
- - DebugCI
- - ReleaseCI
-platform:
- - Win32
+- Debug
+- Release
+platform: Win32
environment:
APPVEYOR_SAVE_CACHE_ON_ERROR: true
install:
- - set PATH=%APPVEYOR_BUILD_FOLDER%/bin;%PATH%
-before_build:
- - mkdir "%APPVEYOR_BUILD_FOLDER%/build"
- - cd "%APPVEYOR_BUILD_FOLDER%"
- - premake5.exe vs2015
+- cmd: >-
+ git submodule update --init --recursive
+
+ premake-vs2019.cmd
build:
- project: c:\projects\re3\build\re3.sln
+ project: build/re3.sln
verbosity: minimal
-artifacts:
- path: bin/%CONFIGURATION%/re3.dll
+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"
+
+ 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 \ No newline at end of file