Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F134243
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
5 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/.travis.yml b/.travis.yml
index f3a7247..31bb4e5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,30 +1,31 @@
language: cpp
git:
depth: 10
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
packages:
- libsdl1.2-dev
- libsdl-image1.2-dev
- libsdl-ttf2.0-dev
- libsdl-mixer1.2-dev
- libsdl-gfx1.2-dev
- libcurl4-openssl-dev
- libarchive-dev
- liblua5.2-dev
- os: osx
compiler: clang
before_install:
- brew install sdl sdl_image sdl_ttf sdl_mixer sdl_gfx 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 c602344..25d788d 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,46 +1,66 @@
version: 1.0.{build}
clone_depth: 10
shallow_clone: true
image: Visual Studio 2015
-platform: x86
+platform: Win32
configuration: Debug
install:
# SDL
- ps: Start-FileDownload 'https://www.libsdl.org/release/SDL-devel-1.2.15-VC.zip'
- 7z x SDL-devel-1.2.15-VC.zip
- set PATH=%APPVEYOR_BUILD_FOLDER%\SDL-1.2.15\include\;%APPVEYOR_BUILD_FOLDER%\SDL-1.2.15\lib\x86\;%PATH%
# SDL_image
- ps: Start-FileDownload 'https://www.libsdl.org/projects/SDL_image/release/SDL_image-devel-1.2.12-VC.zip'
- 7z x SDL_image-devel-1.2.12-VC.zip
- set PATH=%APPVEYOR_BUILD_FOLDER%\SDL_image-1.2.12\include\;%APPVEYOR_BUILD_FOLDER%\SDL_image-1.2.12\lib\x86\;%PATH%
# SDL_ttf
- ps: Start-FileDownload 'https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-devel-2.0.11-VC.zip'
- 7z x SDL_ttf-devel-2.0.11-VC.zip
- set PATH=%APPVEYOR_BUILD_FOLDER%\SDL_ttf-2.0.11\include\;%APPVEYOR_BUILD_FOLDER%\SDL_ttf-2.0.11\lib\x86\;%PATH%
# SDL_mixer
- ps: Start-FileDownload 'https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-devel-1.2.12-VC.zip'
- 7z x SDL_mixer-devel-1.2.12-VC.zip
- set PATH=%APPVEYOR_BUILD_FOLDER%\SDL_mixer-1.2.12\include\;%APPVEYOR_BUILD_FOLDER%\SDL_mixer-1.2.12\lib\x86\;%PATH%
# ...
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
# SDL_gfx, need to compile from source
- ps: Start-FileDownload 'http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.26.tar.gz'
- 7z x SDL_gfx-2.0.26.tar.gz && 7z x SDL_gfx-2.0.26.tar && cd SDL_gfx-2.0.26
- echo project(SDL_gfx) > CMakeLists.txt
- echo Find_Package(SDL REQUIRED) >> CMakeLists.txt
- echo add_definitions(-DDLL_EXPORT) >> CMakeLists.txt
- echo include_directories(${SDL_INCLUDE_DIR}) >> CMakeLists.txt
- - echo add_library(SDL_gfx SDL_framerate.c SDL_gfxBlitFunc.c SDL_gfxPrimitives.c SDL_imageFilter.c SDL_rotozoom.c) >> CMakeLists.txt
+ - echo add_library(SDL_gfx SHARED SDL_framerate.c SDL_gfxBlitFunc.c SDL_gfxPrimitives.c SDL_imageFilter.c SDL_rotozoom.c) >> CMakeLists.txt
- echo Target_Link_Libraries(SDL_gfx ${SDL_LIBRARY}) >> CMakeLists.txt
- mkdir build && cd build
- cmake -G "Visual Studio 14 2015" ..
- - msbuild SDL_gfx.sln /target:SDL_gfx /p:Configuration=Debug
- # debug
- - dir/s *
+ - msbuild SDL_gfx.sln /target:SDL_gfx /p:Configuration=%CONFIGURATION%
- cd ..\..
+ - set PATH=%APPVEYOR_BUILD_FOLDER%\SDL_gfx-2.0.26\;%APPVEYOR_BUILD_FOLDER%\SDL_gfx-2.0.26\build\%CONFIGURATION%\;%PATH%
+ # libcurl...
+ # libarchive, need to compile from source
+ - cd ..
+ - git clone --depth 3 https://github.com/libarchive/libarchive.git
+ - cd libarchive
+ - mkdir build && cd build
+ - cmake -G "Visual Studio 14 2015" ..
+ - msbuild libarchive.sln /target:archive /p:Configuration=%CONFIGURATION%
+ # debug
+ - dir /s *
+ - cd /d %APPVEYOR_BUILD_FOLDER%
+ # lua5.2, need to compile from source
+ - ps: Start-FileDownload 'http://www.lua.org/ftp/lua-5.2.4.tar.gz'
+ - 7z x lua-5.2.4.tar.gz && 7z x lua-5.2.4.tar && cd lua-5.2.4\src
+ - echo project(lua52) > CMakeLists.txt
+ - echo add_library(lua52 SHARED lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c lmem.c lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c ltm.c lundump.c lvm.c lzio.c lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c lmathlib.c loslib.c lstrlib.c ltablib.c loadlib.c linit.c) >> CMakeLists.txt
+ - mkdir build && cd build
+ - cmake -G "Visual Studio 14 2015" ..
+ - msbuild lua52.sln /target:lua52 /p:Configuration=%CONFIGURATION%
+ - cd ..\..\..
+ - set PATH=%APPVEYOR_BUILD_FOLDER%\lua-5.2.4\src\;%APPVEYOR_BUILD_FOLDER%\lua-5.2.4\src\build\%CONFIGURATION%\;%PATH%
before_build:
- mkdir build && cd build
- cmake -G "Visual Studio 14 2015" ..
build:
project: build\meandmyshadow.sln
verbosity: normal
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Jun 17, 9:23 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71502
Default Alt Text
(5 KB)
Attached To
Mode
R79 meandmyshadow
Attached
Detach File
Event Timeline