Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F625755
appveyor.yml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
3 KB
Referenced Files
None
Subscribers
None
appveyor.yml
View Options
version
:
1.0.{build}
clone_depth
:
3
shallow_clone
:
false
skip_commits
:
message
:
/.*(\[skip appveyor\]|\[appveyor skip\]).*/
image
:
-
Visual Studio 2013
platform
:
Win32
configuration
:
-
Debug
-
Release
install
:
-
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" set CMAKE_GENERATOR=Visual Studio 12 2013&& set VSVERSION=VS2013&& set CMAKE_TOOLSET=v120_xp
-
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" set CMAKE_GENERATOR=Visual Studio 14 2015&& set VSVERSION=VS2015&& set CMAKE_TOOLSET=v140_xp
-
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" set CMAKE_GENERATOR=Visual Studio 15 2017&& set VSVERSION=VS2017&& set CMAKE_TOOLSET=v150_xp
# setup Visual Studio
-
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
-
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
-
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
# we just download our prebuilt 3rdparty dependencies
-
set BINSUFFIX=%PLATFORM%-%VSVERSION%-%CONFIGURATION%
-
appveyor DownloadFile "https://bintray.com/artifact/download/acmepjz/meandmyshadow/3rdparty-%BINSUFFIX%.7z"
-
7z x 3rdparty-%BINSUFFIX%.7z -o3rdparty
-
set PATH=%APPVEYOR_BUILD_FOLDER%\3rdparty;%PATH%
artifacts
:
-
path
:
'binonly-$(BINSUFFIX).7z'
-
path
:
'bin_and_data-$(BINSUFFIX).7z'
before_build
:
# write nightly build version to a text file
-
git show -s HEAD > nightly-build-version.txt
-
d2u nightly-build-version.txt
-
u2d nightly-build-version.txt
# generate makefile
-
mkdir build && cd build
-
cmake -G "%CMAKE_GENERATOR%" -T "%CMAKE_TOOLSET%" -D "LUA_INCLUDE_DIR=%APPVEYOR_BUILD_FOLDER%\3rdparty" ..
build
:
project
:
build\meandmyshadow.sln
verbosity
:
normal
after_build
:
-
cd /d %APPVEYOR_BUILD_FOLDER%
# now we try to package the binary
-
echo %APPVEYOR_BUILD_FOLDER%\3rdparty\*.dll > lst.txt
-
echo %APPVEYOR_BUILD_FOLDER%\build\%CONFIGURATION%\*.exe >> lst.txt
-
echo AUTHORS >> lst.txt
-
echo ChangeLog >> lst.txt
-
echo COPYING >> lst.txt
-
echo README.md >> lst.txt
-
echo nightly-build-version.txt >> lst.txt
-
7z a -t7z -mx=9 "binonly-%BINSUFFIX%.7z" @lst.txt
# this is with data
-
echo data\ >> lst.txt
-
echo docs\ >> lst.txt
-
7z a -t7z -mx=9 "bin_and_data-%BINSUFFIX%.7z" @lst.txt
deploy
:
# - provider: BinTray
# username: acmepjz
# api_key:
# secure: 5v4Sk+26IeEJHHhwoVW+lXi133R8OVB4kSqcmgOUUf2G1xEDEm1t7dlhe6N/I/AD
# subject: acmepjz
# repo: meandmyshadow
# package: meandmyshadow
# version: nightly-build
# publish: true
# override: true
# explode: false
# for nightly build
-
provider
:
GitHub
tag
:
nightly_build
release
:
'Nightly
build'
description
:
'Latest
nightly
build
binary.
NOTE:
The
source
package
is
not
up-to-date.'
draft
:
false
prerelease
:
true
force_update
:
true
auth_token
:
secure
:
2Tnff9RUodlw+zHXbliNNUg1+HyRMkmABSWsjMfo1NeNJ04fwYUY9BdxRMi2EZZh
on
:
branch
:
master
# for tag build
-
provider
:
GitHub
description
:
'Release
description'
draft
:
true
prerelease
:
true
force_update
:
true
auth_token
:
secure
:
2Tnff9RUodlw+zHXbliNNUg1+HyRMkmABSWsjMfo1NeNJ04fwYUY9BdxRMi2EZZh
on
:
branch
:
master
APPVEYOR_REPO_TAG
:
true
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 14, 11:52 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
112499
Default Alt Text
appveyor.yml (3 KB)
Attached To
Mode
R79 meandmyshadow
Attached
Detach File
Event Timeline