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
0666231c
Commit
0666231c
authored
Dec 18, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linux_test
parent
7a729590
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
7 deletions
+21
-7
.travis.yml
.travis.yml
+15
-5
gframe/premake4.lua
gframe/premake4.lua
+6
-2
No files found.
.travis.yml
View file @
0666231c
...
@@ -16,6 +16,8 @@ addons:
...
@@ -16,6 +16,8 @@ addons:
-
libirrlicht-dev
-
libirrlicht-dev
-
libgl1-mesa-dev
-
libgl1-mesa-dev
-
libglu-dev
-
libglu-dev
env
:
-
USE_IRRKLANG=1
before_install
:
before_install
:
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update > /dev/null;
brew update > /dev/null;
...
@@ -25,12 +27,11 @@ before_install:
...
@@ -25,12 +27,11 @@ before_install:
-
curl --location --retry 5 http://www.lua.org/ftp/lua-5.3.4.tar.gz | tar zfx -
-
curl --location --retry 5 http://www.lua.org/ftp/lua-5.3.4.tar.gz | tar zfx -
-
cd lua-5.3.4
-
cd lua-5.3.4
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
make macosx test
;
sudo make macosx test install > /dev/null
;
fi
fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
make linux test
;
sudo make linux test install > /dev/null
;
fi
fi
-
sudo make install
-
cd ..
-
cd ..
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
...
@@ -51,6 +52,15 @@ before_install:
...
@@ -51,6 +52,15 @@ before_install:
sudo cp -rf ../../../include /usr/local/include/irrlicht;
sudo cp -rf ../../../include /usr/local/include/irrlicht;
cd ../../../../;
cd ../../../../;
fi
fi
-
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
-
move irrKlang-1.5.0 irrklang
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cp -rf irrklang/bin/macosx-gcc/*.dylib .;
fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
cp -rf irrklang/bin/linux-gcc/*.so .;
fi
script
:
script
:
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./premake5 gmake --cc=clang; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./premake5 gmake --cc=clang; fi
...
@@ -78,10 +88,10 @@ script:
...
@@ -78,10 +88,10 @@ script:
fi
fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
zip -q -r ygopro-koishi-$TRAVIS_OS_NAME.zip ygopro.app;
zip -q -r ygopro-koishi-$TRAVIS_OS_NAME.zip ygopro.app
*.so
;
fi
fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
zip -q -r ygopro-koishi-$TRAVIS_OS_NAME.zip ygopro;
zip -q -r ygopro-koishi-$TRAVIS_OS_NAME.zip ygopro
*.dylib
;
fi
fi
deploy
:
deploy
:
...
...
gframe/premake4.lua
View file @
0666231c
...
@@ -35,6 +35,10 @@ project "ygopro"
...
@@ -35,6 +35,10 @@ project "ygopro"
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
configuration
"linux"
configuration
"linux"
if
USE_IRRKLANG
then
if
USE_IRRKLANG
then
linkoptions
{
"-Wl,-rpath=./irrklang/bin/linux-gcc-64/"
}
linkoptions
{
"-Wl,-rpath=./irrklang/bin/linux-gcc/"
}
libdirs
{
"../irrklang/bin/linux-gcc-64"
}
libdirs
{
"../irrklang/bin/linux-gcc"
}
end
configuration
"macosx"
if
USE_IRRKLANG
then
libdirs
{
"../irrklang/bin/macosx-gcc"
}
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