Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F131841
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
6 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/.travis.yml b/.travis.yml
index 328bd5e..80f1810 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,32 +1,43 @@
language: cpp
git:
depth: 3
+env:
+ global:
+ # BINTRAY_KEY
+ - secure: "WDcwmwVGvh2r07WLMf6dCNYCw+yY4j2huTEMjqPi1PmWWBwhzPogeUoaJRDIMW8JB6Iw9MOeGTuwbKkUQM0dQCYU/qdpIz4QkmqeKbi9d22wQhJYltcFGkA6vApKDXhnYhA2+8tiOOg5Q/2VCIAzb2pgcD/l92SwwJ0R2KvunWl0mOQIoL6bGb+1gpdekLLeLVL9XvXePthDY+9Pr1FMK0vO9iqzOEKzN4rMevkvvERcPFYV/zFH7ER8i8CT3TZPaLHDwCHWlrcv9e5iC/MIbZ+UKj+axFPEiFZudMWlhTN3oNPkJJCRzLSVYWnOMfOBhzoSBj3kQalznV6XeWoQWRQCZgWzUHVglXDcYfgyYelfXcVemNDEuscdiZXQgGLCVtDjTeug1a+IBgfCHPsUZC/MxDr/nX8TDLbWo/Xt38nIQLkWp+ZSG16kdK260QPP8PwAxrOo7oQDsZ1ySMZJQHDVoo/FLjOEuYswiQy5wnDPjtmgAllDtAKNvXfsBninu0K7jiMDC2Ff0B+hJFHnvYeQJ7QxRRaRhliAh0E/glmUv6rLD1L9ZgW7XlLvV0oMP8yOGTSjes7tsW7/NC0gDqED5KAdN614rDkm1peXeFFbmGGkB+5/UjmASexDEqRdOQdw51PKGn9D3FS12gA3vUEa5zi+6STNmUXs9vxjUfE="
matrix:
include:
- os: linux
- # tru Ubuntu 14.04
+ # try 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
+ after_success:
+ - cd ..
+ - git show -s HEAD > nightly-build-version.txt
+ - wget -q https://github.com/AppImage/AppImages/raw/master/pkg2appimage -O ./pkg2appimage
+ - chmod a+x ./pkg2appimage
+ - ./pkg2appimage pkg2appimage.yml
+ - curl -T ../out/MeAndMyShadow.AppImage "-uacmepjz:$BINTRAY_KEY" "https://api.bintray.com/content/acmepjz/meandmyshadow/meandmyshadow/nightly-build/MeAndMyShadow.AppImage?publish=1&override=1"
- os: osx
compiler: clang
- before_install:
+ 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 4ef51c7..c5a4f0a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,68 +1,68 @@
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
- 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'
+ - path: 'bin+data-$(BINSUFFIX).7z'
before_build:
# write nightly build version to a text file
- git show -s HEAD > nightly-build-version.txt
# generate makefile
- 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:
- 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+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
- artifact: /bin.*\.7z/
diff --git a/pkg2appimage.yml b/pkg2appimage.yml
new file mode 100644
index 0000000..2374393
--- /dev/null
+++ b/pkg2appimage.yml
@@ -0,0 +1,28 @@
+app: MeAndMyShadow
+
+ingredients:
+ dist: trusty
+ sources:
+ - deb http://archive.ubuntu.com/ubuntu/ trusty main universe
+ packages:
+ - libsdl2-2.0-0
+ - libsdl2-image-2.0-0
+ - libsdl2-ttf-2.0-0
+ - libogg0
+ - libvorbis0a
+ - libvorbisfile3
+ - libsdl2-mixer-2.0-0
+ - libarchive13
+ - liblua5.2-0
+
+script:
+ - cp ../build/meandmyshadow ./usr/bin/
+ - cp -R ../data ./usr/bin/
+ - cp -R ../docs ./
+ - cp -R ../icons ./
+ - cp ../AUTHORS ./
+ - cp ../ChangeLog ./
+ - cp ../COPYING ./
+ - cp ../README.md ./
+ - cp ../nightly-build-version.txt ./
+ - cp ../meandmyshadow.desktop ./
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Jun 16, 12:22 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70788
Default Alt Text
(6 KB)
Attached To
Mode
R79 meandmyshadow
Attached
Detach File
Event Timeline