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
301fb690
Commit
301fb690
authored
Jul 08, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tmps
parent
f409a805
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
.ci/pack-linux.sh
.ci/pack-linux.sh
+1
-1
.gitignore
.gitignore
+1
-0
.gitlab-ci.yml
.gitlab-ci.yml
+4
-3
gframe/premake4.lua
gframe/premake4.lua
+1
-1
No files found.
.ci/pack-linux.sh
View file @
301fb690
...
@@ -6,4 +6,4 @@ set -o errexit
...
@@ -6,4 +6,4 @@ set -o errexit
apt update
&&
apt
-y
install tar
git
apt update
&&
apt
-y
install tar
git
git submodule update
--init
git submodule update
--init
mkdir
dist replay
mkdir
dist replay
tar
-zcf
dist/KoishiPro-
$CI_COMMIT_REF_NAME
-linux-
$TARGET_LOCALE
.tar.gz
--exclude
=
'.git*'
ygopro LICENSE README.md lib
IrrKlang.so
lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay sound windbot bot bot.conf locales fonts
tar
-zcf
dist/KoishiPro-
$CI_COMMIT_REF_NAME
-linux-
$TARGET_LOCALE
.tar.gz
--exclude
=
'.git*'
ygopro LICENSE README.md lib lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay sound windbot bot bot.conf locales fonts
.gitignore
View file @
301fb690
...
@@ -63,6 +63,7 @@ build
...
@@ -63,6 +63,7 @@ build
/update
/update
/update*
/update*
/locales
/locales
/lib
# ygopro main program
# ygopro main program
/ygopro
/ygopro
...
...
.gitlab-ci.yml
View file @
301fb690
...
@@ -153,17 +153,18 @@ exec_linux:
...
@@ -153,17 +153,18 @@ exec_linux:
script
:
script
:
-
apt update; apt -y install git build-essential libfreetype6-dev libgl1-mesa-dev libglu-dev libxxf86vm-dev
-
apt update; apt -y install git build-essential libfreetype6-dev libgl1-mesa-dev libglu-dev libxxf86vm-dev
-
git submodule update --init
-
git submodule update --init
-
env YGOPRO_LINUX_ALL_STATIC_LIBEVENT_PATH=$PWD/libevent-stable ./premake5 gmake
-
mkdir lib
-
cp -rf irrklang/bin/linux-gcc-64/libIrrKlang.so ./lib/
-
./premake5 gmake
-
cd build
-
cd build
-
make config=release -j$(nproc)
-
make config=release -j$(nproc)
-
cd ..
-
cd ..
-
mv bin/release/ygopro .
-
mv bin/release/ygopro .
-
strip ygopro
-
strip ygopro
-
cp -rf irrklang/bin/linux-gcc-64/libIrrKlang.so .
artifacts
:
artifacts
:
paths
:
paths
:
-
ygopro
-
ygopro
-
lib
IrrKlang.so
-
lib
exec_macos
:
exec_macos
:
stage
:
build
stage
:
build
...
...
gframe/premake4.lua
View file @
301fb690
...
@@ -89,9 +89,9 @@ project "ygopro"
...
@@ -89,9 +89,9 @@ project "ygopro"
end
end
linkoptions
{
libeventRootPrefix
..
"libevent.a"
,
libeventRootPrefix
..
"libevent_pthreads.a"
}
linkoptions
{
libeventRootPrefix
..
"libevent.a"
,
libeventRootPrefix
..
"libevent_pthreads.a"
}
end
end
linkoptions
{
"-Wl,-rpath=./lib/"
}
if
USE_IRRKLANG
then
if
USE_IRRKLANG
then
links
{
"IrrKlang"
}
links
{
"IrrKlang"
}
linkoptions
{
"-Wl,-rpath=./"
}
libdirs
{
"../irrklang/bin/linux-gcc-64"
}
libdirs
{
"../irrklang/bin/linux-gcc-64"
}
end
end
configuration
"macosx"
configuration
"macosx"
...
...
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