mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
3fe5f50255
Replace env var N64PluginsDir_64 by PJ64PluginsDirQT_64 and PJ64PluginsDirWTL_64 Update msvc project file. Update appveyor script.
70 lines
3.2 KiB
YAML
70 lines
3.2 KiB
YAML
image: Visual Studio 2017
|
|
|
|
version: 1.0.{build}
|
|
pull_requests:
|
|
do_not_increment_build_number: true
|
|
branches:
|
|
only:
|
|
- master
|
|
skip_branch_with_pr: true
|
|
|
|
environment:
|
|
PJ64PluginsDirQT: C:\projects\gliden64\build\GLideN64-QT_for_Project64\
|
|
PJ64PluginsDirQT_x64: C:\projects\gliden64\build\GLideN64-QT_for_Project64_x64\
|
|
PJ64PluginsDirWTL: C:\projects\gliden64\build\GLideN64-WTL_for_Project64\
|
|
PJ64PluginsDirWTL_x64: C:\projects\gliden64\build\GLideN64-WTL_for_Project64_x64\
|
|
Mupen64PluginsDir: C:\projects\gliden64\build\GLideN64_for_Mupen64Plus\
|
|
Mupen64PluginsDir_x64: C:\projects\gliden64\build\GLideN64_for_Mupen64Plus_x64\
|
|
QTDIR_x86: C:\Static_Qt_x86
|
|
QTDIR_x64: C:\Static_Qt_x64
|
|
QT_BUILD_BASE_URL: https://github.com/gonetz/GLideN64/releases/download/qt_build/
|
|
QT_BUILD_x86: qt-5_7_1-x86-msvc2017-static
|
|
QT_BUILD_x64: qt-5_7_1-x64-msvc2017-static
|
|
|
|
before_build:
|
|
- curl -L -o %QT_BUILD_x86%.7z %QT_BUILD_BASE_URL%/%QT_BUILD_x86%.7z
|
|
- curl -L -o %QT_BUILD_x64%.7z %QT_BUILD_BASE_URL%/%QT_BUILD_x64%.7z
|
|
- 7z x -o%QTDIR_x86% %QT_BUILD_x86%.7z
|
|
- 7z x -o%QTDIR_x64% %QT_BUILD_x64%.7z
|
|
|
|
build_script:
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
- set QTDIR=%QTDIR_x64%\%QT_BUILD_x64%
|
|
- msbuild projects/msvc/GLideNUI.vcxproj /m /p:Configuration=Release;Platform=x64
|
|
- msbuild projects/msvc/GLideN64.sln /m /p:Configuration=Release_qt;Platform=x64
|
|
- set QTDIR=%QTDIR_x86%\%QT_BUILD_x86%
|
|
- msbuild projects/msvc/GLideNUI.vcxproj /m /p:Configuration=Release;Platform=Win32
|
|
- msbuild projects/msvc/GLideN64.sln /m /p:Configuration=Release_qt;Platform=Win32
|
|
- msbuild projects/msvc/GLideNUI-wtl.vcxproj /m /p:Configuration=Release;Platform=x64
|
|
- msbuild projects/msvc/GLideN64.sln /m /p:Configuration=Release_wtl;Platform=x64
|
|
- msbuild projects/msvc/GLideNUI-wtl.vcxproj /m /p:Configuration=Release;Platform=Win32
|
|
- msbuild projects/msvc/GLideN64.sln /m /p:Configuration=Release_wtl;Platform=Win32
|
|
- msbuild projects/msvc/GLideN64.sln /m /p:Configuration=Release_mupenplus;Platform=x64
|
|
- msbuild projects/msvc/GLideN64.sln /m /p:Configuration=Release_mupenplus;Platform=Win32
|
|
|
|
after_build:
|
|
- copy ini\GLideN64.custom.ini %PJ64PluginsDirQT%
|
|
- copy ini\GLideN64.custom.ini %PJ64PluginsDirQT_x64%
|
|
- copy ini\GLideN64.custom.ini %PJ64PluginsDirWTL%
|
|
- copy ini\GLideN64.custom.ini %PJ64PluginsDirWTL_x64%
|
|
- copy translations\release\*.qm %PJ64PluginsDirQT%
|
|
- copy translations\release\*.qm %PJ64PluginsDirQT_x64%
|
|
- copy translations\release\*.qm %PJ64PluginsDirWTL%
|
|
- copy translations\release\*.qm %PJ64PluginsDirWTL_x64%
|
|
- copy ini\GLideN64.custom.ini %Mupen64PluginsDir_x64%\
|
|
- copy ini\GLideN64.custom.ini %Mupen64PluginsDir%\
|
|
- del /Q %PJ64PluginsDir%\*.lib %PJ64PluginsDirQT%\*.exp
|
|
- del /Q %PJ64PluginsDir_x64%\*.lib %PJ64PluginsDirQT_x64%\*.exp
|
|
- del /Q %PJ64PluginsDir%\*.lib %PJ64PluginsDirWTL%\*.exp
|
|
- del /Q %PJ64PluginsDir_x64%\*.lib %PJ64PluginsDirWTL_x64%\*.exp
|
|
- del /Q %Mupen64PluginsDir_x64%\*.lib %Mupen64PluginsDir_x64%\*.exp
|
|
- del /Q %Mupen64PluginsDir%\*.lib %Mupen64PluginsDir%\*.exp
|
|
- cd C:\projects\gliden64\build
|
|
- ps: $env:revision = git describe --always
|
|
- set archive_name=GLideN64-%revision%.7z
|
|
- 7z a %archive_name% *
|
|
|
|
artifacts:
|
|
- path: build\$(archive_name)
|
|
name: GLideN64
|