Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-2pick
Commits
4aa2bd34
Commit
4aa2bd34
authored
Dec 01, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
irrtest
parent
ebf8f8d4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
31 deletions
+48
-31
.travis.yml
.travis.yml
+10
-2
gframe/lzma/premake4.lua
gframe/lzma/premake4.lua
+2
-2
gframe/premake4.lua
gframe/premake4.lua
+36
-27
No files found.
.travis.yml
View file @
4aa2bd34
...
@@ -3,6 +3,8 @@ os: osx
...
@@ -3,6 +3,8 @@ os: osx
sudo
:
required
sudo
:
required
dist
:
trusty
dist
:
trusty
osx_image
:
xcode8
osx_image
:
xcode8
env
:
-
USE_IRRKLANG=mac
before_install
:
before_install
:
-
brew update > /dev/null
-
brew update > /dev/null
-
brew install freetype libevent sqlite dylibbundler > /dev/null
-
brew install freetype libevent sqlite dylibbundler > /dev/null
...
@@ -14,8 +16,8 @@ before_install:
...
@@ -14,8 +16,8 @@ before_install:
-
cd ..
-
cd ..
-
curl --location --retry 5 https://github.com/premake/premake-core/releases/download/v5.0.0-alpha12/premake-5.0.0-alpha12-macosx.tar.gz | tar zfx -
-
curl --location --retry 5 https://github.com/premake/premake-core/releases/download/v5.0.0-alpha12/premake-5.0.0-alpha12-macosx.tar.gz | tar zfx -
-
curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip
-
curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip
-
unzip -q irrlicht-1.8.4.zip
-
unzip -q irrlicht-1.8.4.zip
-
cd irrlicht-1.8.4/
-
cd irrlicht-1.8.4/
-
curl --location --retry 5 https://github.com/moecube/ygopro/raw/master/premake/irrlicht/irrlicht-mac.patch | patch -p1
-
curl --location --retry 5 https://github.com/moecube/ygopro/raw/master/premake/irrlicht/irrlicht-mac.patch | patch -p1
...
@@ -25,6 +27,12 @@ before_install:
...
@@ -25,6 +27,12 @@ before_install:
-
cp -rf ../../../include /usr/local/include/irrlicht
-
cp -rf ../../../include /usr/local/include/irrlicht
-
cd ../../../../
-
cd ../../../../
-
curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://www.ambiera.at/downloads/irrKlang-32bit-1.5.0.zip
-
unzip -q irrKlang-32bit-1.5.0.zip
-
cp -rf irrKlang-1.5.0/lib/Win32-gcc/libirrKlang.a /usr/local/lib/
-
cp -rf irrKlang-1.5.0/include /usr/local/include/irrKlang
-
cp -rf irrKlang-1.5.0/irrKlang-1.5.0/bin/macosx-gcc *.dylib .
script
:
script
:
-
./premake5 gmake --cc=clang
-
./premake5 gmake --cc=clang
-
cd build
-
cd build
...
@@ -45,7 +53,7 @@ script:
...
@@ -45,7 +53,7 @@ script:
-
security import cert.p12 -k build.keychain -P "$CERTIFICATE_PASSWORD" -T /usr/bin/codesign
-
security import cert.p12 -k build.keychain -P "$CERTIFICATE_PASSWORD" -T /usr/bin/codesign
-
codesign --deep --keychain build.keychain --sign "$(security find-identity -v -p codesigning build.keychain | head -1 | grep -o '".*"' | tr -d '"')" ygopro.app
-
codesign --deep --keychain build.keychain --sign "$(security find-identity -v -p codesigning build.keychain | head -1 | grep -o '".*"' | tr -d '"')" ygopro.app
-
zip -q -r ygopro-koishi-mac.zip ygopro.app
-
zip -q -r ygopro-koishi-mac.zip ygopro.app
*.dylib
deploy
:
deploy
:
provider
:
releases
provider
:
releases
...
...
gframe/lzma/premake4.lua
View file @
4aa2bd34
gframe/premake4.lua
View file @
4aa2bd34
...
@@ -14,9 +14,10 @@ project "ygopro"
...
@@ -14,9 +14,10 @@ project "ygopro"
includedirs
{
"../irrlicht/include"
,
"../freetype/include"
,
"../event/include"
,
"../sqlite3"
}
includedirs
{
"../irrlicht/include"
,
"../freetype/include"
,
"../event/include"
,
"../sqlite3"
}
if
USE_IRRKLANG
then
if
USE_IRRKLANG
then
defines
{
"YGOPRO_USE_IRRKLANG"
}
defines
{
"YGOPRO_USE_IRRKLANG"
}
links
{
"irrKlang"
,
"ikpMP3
"
}
links
{
"irrKlang
"
}
includedirs
{
"../irrklang/include"
}
includedirs
{
"../irrklang/include"
}
if
IRRKLANG_PRO
then
if
IRRKLANG_PRO
then
links
{
"ikpMP3"
}
defines
{
"IRRKLANG_STATIC"
}
defines
{
"IRRKLANG_STATIC"
}
end
end
libdirs
{
"../irrklang/lib/Win32-visualStudio"
}
libdirs
{
"../irrklang/lib/Win32-visualStudio"
}
...
@@ -30,3 +31,11 @@ project "ygopro"
...
@@ -30,3 +31,11 @@ project "ygopro"
includedirs
{
"/usr/include/lua"
,
"/usr/include/lua5.3"
,
"/usr/include/lua/5.3"
,
"/usr/include/irrlicht"
,
"/usr/include/freetype2"
}
includedirs
{
"/usr/include/lua"
,
"/usr/include/lua5.3"
,
"/usr/include/lua/5.3"
,
"/usr/include/irrlicht"
,
"/usr/include/freetype2"
}
excludes
{
"COSOperator.*"
}
excludes
{
"COSOperator.*"
}
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
if
USE_IRRKLANG
then
defines
{
"YGOPRO_USE_IRRKLANG"
}
links
{
"irrKlang"
}
includedirs
{
"/usr/include/irrKlang"
}
if
os.getenv
(
"USE_IRRKLANG"
)
==
"mac"
then
libdirs
{
"../irrklang/lib/Win32-visualStudio"
}
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment