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
Commits
42d37a0f
Commit
42d37a0f
authored
Mar 26, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into server-develop
parents
6f6cc61b
461098fd
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
35 additions
and
14 deletions
+35
-14
.ci/exec-macos-platform.sh
.ci/exec-macos-platform.sh
+1
-1
.ci/libevent-prebuild.sh
.ci/libevent-prebuild.sh
+12
-5
.ci/pack-linux-dlc.sh
.ci/pack-linux-dlc.sh
+3
-1
.ci/pack-linux.sh
.ci/pack-linux.sh
+3
-1
.ci/pack-macos-dlc.sh
.ci/pack-macos-dlc.sh
+3
-1
.ci/pack-macos.sh
.ci/pack-macos.sh
+3
-1
.ci/pack-windows-7z.sh
.ci/pack-windows-7z.sh
+3
-1
.ci/pack-windows-dlc.sh
.ci/pack-windows-dlc.sh
+3
-1
.ci/pack-windows.sh
.ci/pack-windows.sh
+3
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
No files found.
.ci/exec-macos-platform.sh
View file @
42d37a0f
...
@@ -14,7 +14,7 @@ export IRRLICHT_LIB_DIR=$PWD/irrlicht/lib/$(arch)
...
@@ -14,7 +14,7 @@ export IRRLICHT_LIB_DIR=$PWD/irrlicht/lib/$(arch)
./premake5 gmake
--cc
=
clang
--build-freetype
--build-sqlite
./premake5 gmake
--cc
=
clang
--build-freetype
--build-sqlite
cd
build
cd
build
make
config
=
release
-j
4
make
config
=
release
-j
$(
nproc
)
cd
..
cd
..
mkdir
ygopro-platforms
mkdir
ygopro-platforms
...
...
.ci/libevent-prebuild.sh
View file @
42d37a0f
#!/bin/
ba
sh
#!/bin/sh
set
-x
set
-x
set
-o
errexit
set
-o
errexit
# PROCESSOR_COUNT=4
# PROCESSOR_COUNT=4
wget
-O
- https://cdn01.moecube.com/ygopro-build-materials/libevent-2.0.22-stable.tar.gz |
tar
zfx -
if
[
-d
"libevent-stable"
]
;
then
rm
-rf
libevent-stable
fi
if
[
!
-d
"libevent-2.0.22-stable"
]
;
then
wget
-O
- https://cdn01.moecube.com/ygopro-build-materials/libevent-2.0.22-stable.tar.gz |
tar
zfx -
fi
install_path
=
"
$PWD
/libevent-stable"
cd
libevent-2.0.22-stable
cd
libevent-2.0.22-stable
./configure
--prefix
=
$PWD
/libevent-stable
--disable-openssl
--enable-static
=
yes
--enable-shared
=
no
"
$@
"
./configure
"--prefix=
$install_path
"
--disable-openssl
--enable-static
=
yes
--enable-shared
=
no
"
$@
"
make
-j
$(
nproc
)
make
-j
$(
nproc
)
make
install
make
install
cd
..
cd
..
mv
libevent-2.0.22-stable/libevent-stable
.
rm
-rf
libevent-2.0.22-stable
.ci/pack-linux-dlc.sh
View file @
42d37a0f
...
@@ -4,7 +4,9 @@ set -o errexit
...
@@ -4,7 +4,9 @@ set -o errexit
ARCHIVE_FILES
=(
ygopro cards.cdb locales fonts sound textures strings.conf system.conf pack
)
ARCHIVE_FILES
=(
ygopro cards.cdb locales fonts sound textures strings.conf system.conf pack
)
TARGET_PLATFORM
=
linux
if
[[
-z
"
$TARGET_PLATFORM
"
]]
;
then
TARGET_PLATFORM
=
linux
fi
apt update
&&
apt
-y
install tar
zstd
apt update
&&
apt
-y
install tar
zstd
mkdir
dist replay
mkdir
dist replay
...
...
.ci/pack-linux.sh
View file @
42d37a0f
...
@@ -6,7 +6,9 @@ ARCHIVE_FILES=(ygopro LICENSE README.md lflist.conf strings.conf system.conf car
...
@@ -6,7 +6,9 @@ ARCHIVE_FILES=(ygopro LICENSE README.md lflist.conf strings.conf system.conf car
# TARGET_LOCALE
# TARGET_LOCALE
# ARCHIVE_SUFFIX
# ARCHIVE_SUFFIX
TARGET_PLATFORM
=
linux
if
[[
-z
"
$TARGET_PLATFORM
"
]]
;
then
TARGET_PLATFORM
=
linux
fi
apt update
&&
apt
-y
install tar
git zstd
apt update
&&
apt
-y
install tar
git zstd
mkdir
dist replay
mkdir
dist replay
...
...
.ci/pack-macos-dlc.sh
View file @
42d37a0f
...
@@ -4,7 +4,9 @@ set -o errexit
...
@@ -4,7 +4,9 @@ set -o errexit
ARCHIVE_FILES
=(
ygopro.app cards.cdb locales fonts sound textures strings.conf system.conf pack
)
ARCHIVE_FILES
=(
ygopro.app cards.cdb locales fonts sound textures strings.conf system.conf pack
)
TARGET_PLATFORM
=
darwin
if
[[
-z
"
$TARGET_PLATFORM
"
]]
;
then
TARGET_PLATFORM
=
darwin
fi
apt update
&&
apt
-y
install tar
zstd
apt update
&&
apt
-y
install tar
zstd
mkdir
dist replay
mkdir
dist replay
...
...
.ci/pack-macos.sh
View file @
42d37a0f
...
@@ -6,7 +6,9 @@ ARCHIVE_FILES=(ygopro.app LICENSE README.md lflist.conf strings.conf system.conf
...
@@ -6,7 +6,9 @@ ARCHIVE_FILES=(ygopro.app LICENSE README.md lflist.conf strings.conf system.conf
# TARGET_LOCALE
# TARGET_LOCALE
# ARCHIVE_SUFFIX
# ARCHIVE_SUFFIX
TARGET_PLATFORM
=
darwin
if
[[
-z
"
$TARGET_PLATFORM
"
]]
;
then
TARGET_PLATFORM
=
darwin
fi
apt update
&&
apt
-y
install tar
git zstd
apt update
&&
apt
-y
install tar
git zstd
mkdir
dist replay
mkdir
dist replay
...
...
.ci/pack-windows-7z.sh
View file @
42d37a0f
...
@@ -9,7 +9,9 @@ if [[ "$TARGET_LOCALE" == "zh-CN" ]]; then
...
@@ -9,7 +9,9 @@ if [[ "$TARGET_LOCALE" == "zh-CN" ]]; then
fi
fi
# TARGET_LOCALE
# TARGET_LOCALE
TARGET_PLATFORM
=
win32
if
[[
-z
"
$TARGET_PLATFORM
"
]]
;
then
TARGET_PLATFORM
=
win32
fi
apt update
&&
apt
-y
install
p7zip-full git
apt update
&&
apt
-y
install
p7zip-full git
mkdir
dist replay
mkdir
dist replay
...
...
.ci/pack-windows-dlc.sh
View file @
42d37a0f
...
@@ -4,7 +4,9 @@ set -o errexit
...
@@ -4,7 +4,9 @@ set -o errexit
ARCHIVE_FILES
=(
ygopro.exe cards.cdb locales fonts sound textures strings.conf system.conf skin pack
)
ARCHIVE_FILES
=(
ygopro.exe cards.cdb locales fonts sound textures strings.conf system.conf skin pack
)
TARGET_PLATFORM
=
win32
if
[[
-z
"
$TARGET_PLATFORM
"
]]
;
then
TARGET_PLATFORM
=
win32
fi
apt update
&&
apt
-y
install tar
zstd
apt update
&&
apt
-y
install tar
zstd
mkdir
dist replay
mkdir
dist replay
...
...
.ci/pack-windows.sh
View file @
42d37a0f
...
@@ -10,7 +10,9 @@ fi
...
@@ -10,7 +10,9 @@ fi
# TARGET_LOCALE
# TARGET_LOCALE
# ARCHIVE_SUFFIX
# ARCHIVE_SUFFIX
TARGET_PLATFORM
=
win32
if
[[
-z
"
$TARGET_PLATFORM
"
]]
;
then
TARGET_PLATFORM
=
win32
fi
apt update
&&
apt
-y
install tar
git zstd
apt update
&&
apt
-y
install tar
git zstd
mkdir
dist replay
mkdir
dist replay
...
...
.gitlab-ci.yml
View file @
42d37a0f
...
@@ -95,7 +95,7 @@ exec_windows:
...
@@ -95,7 +95,7 @@ exec_windows:
-
mat_windows
-
mat_windows
-
mat_submodules
-
mat_submodules
script
:
script
:
-
bash -c 'cp -rf premake/* .'
-
bash -c 'cp -rf premake/* .
; cp -rf resource/* .
'
-
'
.\premake5.exe
vs2019'
-
'
.\premake5.exe
vs2019'
-
cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" build\YGOPro.sln /m /p:Configuration=Release'
-
cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" build\YGOPro.sln /m /p:Configuration=Release'
-
copy bin\release\ygopro.exe .
-
copy bin\release\ygopro.exe .
...
...
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