Merge pull request #917 from x1nixmzeng/ci-fix

Fixed build configurations for ci
This commit is contained in:
Luke Usher 2018-02-14 06:06:37 +00:00 committed by GitHub
commit b2f2ebce9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 11 deletions

View File

@ -1,6 +1,7 @@
@echo off
@if "%1"=="" goto no_arg
@if "%~2"=="Any CPU" goto eof
set BUILD_PATH=build\win32\%1\
@ -16,6 +17,7 @@ set EXPORT_ZIP=export\%1.zip
@call %ZIP_APP% a %EXPORT_ZIP% COPYING README.md
cd %BUILD_PATH%
@call ..\..\..\%ZIP_APP% u ..\..\..\%EXPORT_ZIP% Cxbx.exe glew32.dll subhook.dll
@call ..\..\..\%ZIP_APP% u ..\..\..\%EXPORT_ZIP% CxbxDebugger.exe capstone.dll cs_x86.dll
cd /d %~dp0
echo Finished packaging %EXPORT_ZIP%!
goto eof

View File

@ -1,21 +1,41 @@
# Documentation is here: https://www.appveyor.com/docs/appveyor-yml/
init:
- ps: Update-AppveyorBuild -Version "$env:appveyor_repo_commit"
branches:
only:
- master
- master
image:
- Visual Studio 2017
- Visual Studio 2017
configuration:
- Release
- Debug
# The builds are run in this order
# Each configuration will compile all below platforms
- Release
- Debug
platform:
# Build the debugger and managed deps
# This must be done first!
- Any CPU
# Build native binaries
- Win32
build:
project: build/win32/Cxbx.sln
parallel: true
verbosity: minimal
after_build:
- cmd: PackageBuild.bat %CONFIGURATION%
# Pass in the build configuration and current platform
# The packager script does not need to gather during the "Any CPU" stage and will early-out
- cmd: PackageBuild.bat %CONFIGURATION% "%PLATFORM%"
artifacts:
- path: export/*.zip
- path: export/*.zip
install:
# Git clone happens between init and install
# Git clone happens between init and install
- cmd: git submodule update --init --recursive

View File

@ -52,25 +52,21 @@ Global
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Debug|Win32.ActiveCfg = Debug|Any CPU
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Debug|Win32.Build.0 = Debug|Any CPU
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Debug|x64.ActiveCfg = Debug|Any CPU
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Debug|x64.Build.0 = Debug|Any CPU
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Release|Any CPU.Build.0 = Release|Any CPU
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Release|Win32.ActiveCfg = Release|Any CPU
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Release|Win32.Build.0 = Release|Any CPU
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Release|x64.ActiveCfg = Release|Any CPU
{4A68E962-3805-4376-99D3-0AC59E9BEE69}.Release|x64.Build.0 = Release|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Debug|Win32.ActiveCfg = Debug|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Debug|Win32.Build.0 = Debug|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Debug|x64.ActiveCfg = Debug|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Debug|x64.Build.0 = Debug|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Release|Any CPU.Build.0 = Release|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Release|Win32.ActiveCfg = Release|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Release|Win32.Build.0 = Release|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Release|x64.ActiveCfg = Release|Any CPU
{9131B025-5019-4DEE-84A3-86D2703A81C0}.Release|x64.Build.0 = Release|Any CPU
{2171C0E8-4915-49B9-AC23-A484FA08C126}.Debug|Any CPU.ActiveCfg = Debug|Win32