Page MenuHomePhabricator (Chris)

No OneTemporary

Authored By
Unknown
Size
3 KB
Referenced Files
None
Subscribers
None
diff --git a/.travis.yml b/.travis.yml
index 07046d3..328bd5e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,32 +1,32 @@
language: cpp
git:
depth: 3
matrix:
include:
- os: linux
- # tru Ubuntu 12.04
- dist: precise
+ # tru Ubuntu 14.04
+ dist: trusty
compiler: gcc
addons:
apt:
packages:
- libsdl2-dev
- libsdl2-image-dev
- libsdl2-ttf-dev
- libsdl2-mixer-dev
- libcurl4-openssl-dev
- libarchive-dev
- liblua5.2-dev
- os: osx
compiler: clang
before_install:
- brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer libarchive
- export PATH=/usr/local/opt/libarchive/bin:/usr/local/opt/libarchive/lib:/usr/local/opt/libarchive/include:$PATH
# libcurl (xcode builtin)
# brew only has lua 5.1 and 5.3, so we need to compile it from source
- export LUA52_VERSION=5.2.4
- wget http://www.lua.org/ftp/lua-$LUA52_VERSION.tar.gz
- tar zxf lua-$LUA52_VERSION.tar.gz
- cd lua-$LUA52_VERSION && make macosx && sudo make install && cd ..
script:
- mkdir build && cd build && cmake .. && make
diff --git a/appveyor.yml b/appveyor.yml
index 3036ffc..33e1338 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,41 +1,43 @@
version: 1.0.{build}
-clone_depth: 10
+clone_depth: 3
shallow_clone: true
+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
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" set CMAKE_GENERATOR=Visual Studio 14 2015
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" set CMAKE_GENERATOR=Visual Studio 15 2017
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" set VSVERSION=VS2013
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" set VSVERSION=VS2015
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" set VSVERSION=VS2017
# 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%
- mkdir 3rdparty && cd 3rdparty
- appveyor DownloadFile "https://github.com/acmepjz/meandmyshadow/releases/download/v0.5-devel002/3rdparty-%BINSUFFIX%.7z"
- 7z x 3rdparty-%BINSUFFIX%.7z
- cd ..
- set PATH=%APPVEYOR_BUILD_FOLDER%\3rdparty;%PATH%
artifacts:
- path: 'binonly-$(BINSUFFIX).7z'
before_build:
- mkdir build && cd build
- cmake -G "%CMAKE_GENERATOR%" -D "LUA_INCLUDE_DIR=%APPVEYOR_BUILD_FOLDER%\3rdparty" ..
build:
project: build\meandmyshadow.sln
verbosity: normal
after_build:
# now we try to package the binary
- cd /d %APPVEYOR_BUILD_FOLDER%
- echo %APPVEYOR_BUILD_FOLDER%\3rdparty\*.dll > lst.txt
- echo %APPVEYOR_BUILD_FOLDER%\build\%CONFIGURATION%\*.exe >> lst.txt
- 7z a -t7z -mx=9 "binonly-%BINSUFFIX%.7z" @lst.txt

File Metadata

Mime Type
text/x-diff
Expires
Thu, Jun 18, 12:14 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70559
Default Alt Text
(3 KB)

Event Timeline