Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
List
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
YGOPRO-520DIY
ygopro
Commits
08107006
Commit
08107006
authored
Apr 13, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test build
parent
dddef372
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
22 deletions
+46
-22
.travis.yml
.travis.yml
+4
-3
appveyor.yml
appveyor.yml
+18
-13
premake/lua/premake4.lua
premake/lua/premake4.lua
+8
-0
premake5.lua
premake5.lua
+15
-5
script
script
+1
-1
No files found.
.travis.yml
View file @
08107006
...
@@ -28,12 +28,13 @@ addons:
...
@@ -28,12 +28,13 @@ addons:
-
libirrlicht-dev
-
libirrlicht-dev
-
libgl1-mesa-dev
-
libgl1-mesa-dev
-
libglu-dev
-
libglu-dev
-
liblua5.3-dev
before_install
:
before_install
:
-
git submodule update --init --recursive
-
git submodule update --init --recursive
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ln -s /usr/bin/gcc-6 /usr/local/bin/gcc; sudo ln -s /usr/bin/g++-6 /usr/local/bin/g++; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ln -s /usr/bin/gcc-6 /usr/local/bin/gcc; sudo ln -s /usr/bin/g++-6 /usr/local/bin/g++; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew update;
brew install freetype libevent sqlite dylibbundler;
brew install freetype libevent sqlite
lua
dylibbundler;
sudo cp -r /usr/local/include/freetype2 ./freetype2;
sudo cp -r /usr/local/include/freetype2 ./freetype2;
sudo cp -r /usr/local/include/event2 ./event2;
sudo cp -r /usr/local/include/event2 ./event2;
sudo rm -rf /usr/local/include/*;
sudo rm -rf /usr/local/include/*;
...
@@ -43,8 +44,8 @@ before_install:
...
@@ -43,8 +44,8 @@ before_install:
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir irrlicht ; cd irrlicht ; curl --retry 5 --location https://github.com/moecube/irrlicht/releases/download/test/irrlicht-mycard-mac.tar.gz | tar zfx - ; cp libIrrlicht.a /usr/local/lib/ ; sudo cp -r include /usr/local/include/irrlicht ; cd .. ; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir irrlicht ; cd irrlicht ; curl --retry 5 --location https://github.com/moecube/irrlicht/releases/download/test/irrlicht-mycard-mac.tar.gz | tar zfx - ; cp libIrrlicht.a /usr/local/lib/ ; sudo cp -r include /usr/local/include/irrlicht ; cd .. ; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl --retry 5 --location https://github.com/premake/premake-core/releases/download/v5.0.0-alpha1
2/premake-5.0.0-alpha12
-macosx.tar.gz | tar zfx -; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl --retry 5 --location https://github.com/premake/premake-core/releases/download/v5.0.0-alpha1
4/premake-5.0.0-alpha14
-macosx.tar.gz | tar zfx -; fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl --retry 5 --location https://github.com/premake/premake-core/releases/download/v5.0.0-alpha1
3/premake-5.0.0-alpha13
-linux.tar.gz | tar zfx - ; fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl --retry 5 --location https://github.com/premake/premake-core/releases/download/v5.0.0-alpha1
4/premake-5.0.0-alpha14
-linux.tar.gz | tar zfx - ; fi
-
git clone --depth=1 https://$IRRKLANG_ACCESS_KEY@github.com/purerosefallen/irrklang
-
git clone --depth=1 https://$IRRKLANG_ACCESS_KEY@github.com/purerosefallen/irrklang
-
mv -f irrklang/plugins/ikpmp3 .
-
mv -f irrklang/plugins/ikpmp3 .
...
...
appveyor.yml
View file @
08107006
version
:
'
{build}'
version
:
'
{build}'
image
:
Visual Studio
2019
environment
:
environment
:
matrix
:
matrix
:
...
@@ -17,27 +18,31 @@ install:
...
@@ -17,27 +18,31 @@ install:
-
git submodule update --init --recursive
-
git submodule update --init --recursive
# environment and system dependency
# environment and system dependency
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha1
2/premake-5.0.0-alpha12
-windows.zip ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha1
4/premake-5.0.0-alpha14
-windows.zip ; exit 0"
-
7z x premake-5.0.0-alpha1
2
-windows.zip
-
7z x premake-5.0.0-alpha1
4
-windows.zip
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
-
tar xf libevent-2.0.22-stable.tar.gz
-
tar xf libevent-2.0.22-stable.tar.gz
-
move libevent-2.0.22-stable event
-
move libevent-2.0.22-stable event
-
xcopy /E event\WIN32-Code event\include
-
xcopy /E event\WIN32-Code event\include
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/freetype/freetype-2.
8.tar.bz2
; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/freetype/freetype-2.
10.1.tar.gz
; exit 0"
-
tar xf freetype-2.
8.tar.bz2
-
tar xf freetype-2.
10.1.tar.gz
-
move freetype-2.
8
freetype
-
move freetype-2.
10.1
freetype
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip ; exit 0"
-
7z x irrlicht-1.8.4.zip
-
7z x irrlicht-1.8.4.zip
-
md irrlicht
-
md irrlicht
-
move irrlicht-1.8.4\source\Irrlicht irrlicht\src
-
move irrlicht-1.8.4\source\Irrlicht irrlicht\src
-
move irrlicht-1.8.4\include irrlicht\include
-
move irrlicht-1.8.4\include irrlicht\include
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2018/sqlite-amalgamation-3240000.zip ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.lua.org/ftp/lua-5.3.5.tar.gz ; exit 0"
-
7z x -y sqlite-amalgamation-3240000.zip
-
tar xf lua-5.3.5.tar.gz
-
move sqlite-amalgamation-3240000 sqlite3
-
move lua-5.3.5\src lua
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2020/sqlite-amalgamation-3310100.zip ; exit 0"
-
7z x -y sqlite-amalgamation-3310100.zip
-
move sqlite-amalgamation-3310100 sqlite3
-
git clone --depth=1 https://%access_token%@github.com/purerosefallen/irrklang
-
git clone --depth=1 https://%access_token%@github.com/purerosefallen/irrklang
-
mv -f irrklang/plugins/ikpmp3 .
-
mv -f irrklang/plugins/ikpmp3 .
...
@@ -49,7 +54,7 @@ install:
...
@@ -49,7 +54,7 @@ install:
-
patch -p0 < irrlicht\irrlicht.patch
-
patch -p0 < irrlicht\irrlicht.patch
# premake
# premake
-
premake5 vs201
5
-
premake5 vs201
9
configuration
:
Release
configuration
:
Release
...
@@ -92,8 +97,8 @@ branches:
...
@@ -92,8 +97,8 @@ branches:
-
/\d+\..+/
-
/\d+\..+/
cache
:
cache
:
-
premake-5.0.0-alpha1
2
-windows.zip
-
premake-5.0.0-alpha1
4
-windows.zip
-
libevent-2.0.22-stable.tar.gz
-
libevent-2.0.22-stable.tar.gz
-
freetype-2.
8
.tar.bz2
-
freetype-2.
10.1
.tar.bz2
-
irrlicht-1.8.4.zip
-
irrlicht-1.8.4.zip
-
sqlite-amalgamation-3
2400
00.zip
-
sqlite-amalgamation-3
3101
00.zip
premake/lua/premake4.lua
0 → 100644
View file @
08107006
project
"lua"
kind
"StaticLib"
files
{
"*.c"
,
"*.cpp"
,
"*.h"
,
"*.hpp"
}
removefiles
{
"lua.c"
,
"luac.c"
}
configuration
"vs*"
buildoptions
{
"/TP"
}
premake5.lua
View file @
08107006
...
@@ -14,8 +14,17 @@ solution "ygo"
...
@@ -14,8 +14,17 @@ solution "ygo"
defines
{
"WIN32"
,
"_WIN32"
,
"WINVER=0x0501"
}
defines
{
"WIN32"
,
"_WIN32"
,
"WINVER=0x0501"
}
libdirs
{
"$(DXSDK_DIR)Lib/x86"
}
libdirs
{
"$(DXSDK_DIR)Lib/x86"
}
entrypoint
"mainCRTStartup"
entrypoint
"mainCRTStartup"
toolset
"v140_xp
"
systemversion
"latest
"
startproject
"ygopro"
startproject
"ygopro"
configuration
{
"windows"
,
"vs2015"
}
toolset
"v140_xp"
configuration
{
"windows"
,
"vs2017"
}
toolset
"v141_xp"
configuration
{
"windows"
,
"vs2019"
}
toolset
"v141_xp"
configuration
"bsd"
configuration
"bsd"
defines
{
"LUA_USE_POSIX"
}
defines
{
"LUA_USE_POSIX"
}
...
@@ -42,8 +51,9 @@ solution "ygo"
...
@@ -42,8 +51,9 @@ solution "ygo"
targetdir
"bin/debug"
targetdir
"bin/debug"
configuration
{
"Release"
,
"vs*"
}
configuration
{
"Release"
,
"vs*"
}
flags
{
"StaticRuntime"
,
"LinkTimeOptimization"
}
flags
{
"LinkTimeOptimization"
}
disablewarnings
{
"4244"
,
"4267"
,
"4838"
,
"4577"
,
"4819"
,
"4018"
,
"4996"
,
"4477"
,
"4091"
,
"4305"
}
staticruntime
"On"
disablewarnings
{
"4244"
,
"4267"
,
"4838"
,
"4577"
,
"4819"
,
"4018"
,
"4996"
,
"4477"
,
"4091"
,
"4828"
,
"4800"
}
configuration
{
"Release"
,
"not vs*"
}
configuration
{
"Release"
,
"not vs*"
}
symbols
"On"
symbols
"On"
...
@@ -52,7 +62,7 @@ solution "ygo"
...
@@ -52,7 +62,7 @@ solution "ygo"
configuration
{
"Debug"
,
"vs*"
}
configuration
{
"Debug"
,
"vs*"
}
defines
{
"_ITERATOR_DEBUG_LEVEL=0"
}
defines
{
"_ITERATOR_DEBUG_LEVEL=0"
}
disablewarnings
{
"4819"
}
disablewarnings
{
"4819"
,
"4828"
}
configuration
"vs*"
configuration
"vs*"
vectorextensions
"SSE2"
vectorextensions
"SSE2"
...
@@ -64,10 +74,10 @@ solution "ygo"
...
@@ -64,10 +74,10 @@ solution "ygo"
configuration
{
"not vs*"
,
"windows"
}
configuration
{
"not vs*"
,
"windows"
}
buildoptions
{
"-static-libgcc"
}
buildoptions
{
"-static-libgcc"
}
include
"lua"
include
"ocgcore"
include
"ocgcore"
include
"gframe"
include
"gframe"
if
os
.
ishost
(
"windows"
)
then
if
os
.
ishost
(
"windows"
)
then
include
"lua"
include
"event"
include
"event"
include
"freetype"
include
"freetype"
include
"irrlicht"
include
"irrlicht"
...
...
script
@
15b39359
Subproject commit
9f445929001b004212b2d90171192c994b3ec852
Subproject commit
15b39359eb08b50a695536752fe813c33f1d0445
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