Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MDPro3
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
MyCard
MDPro3
Commits
81a4b8f4
Commit
81a4b8f4
authored
Jul 13, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci
parent
64238568
Pipeline
#38924
canceled with stages
in 88 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
91 additions
and
0 deletions
+91
-0
.gitlab-ci.yml
.gitlab-ci.yml
+91
-0
No files found.
.gitlab-ci.yml
View file @
81a4b8f4
...
@@ -4,6 +4,8 @@ variables:
...
@@ -4,6 +4,8 @@ variables:
stages
:
stages
:
-
prepare
-
prepare
-
build
-
build
-
pack
-
deploy
dll
:
dll
:
stage
:
prepare
stage
:
prepare
...
@@ -11,9 +13,12 @@ dll:
...
@@ -11,9 +13,12 @@ dll:
-
linux
-
linux
dependencies
:
[]
dependencies
:
[]
script
:
|
script
:
|
set -x
set -o errexit
download_thing() {
download_thing() {
wget -O Assets/Plugins/$3/$2 https://cdn02.moecube.com:444/$1/$2
wget -O Assets/Plugins/$3/$2 https://cdn02.moecube.com:444/$1/$2
}
}
download_thing libocgcore-koishi/x64 ocgcore.dll Windows
download_thing libocgcore-koishi/x64 ocgcore.dll Windows
download_thing libocgcore-koishi/x64 sqlite3.dll Windows
download_thing libocgcore-koishi/x64 sqlite3.dll Windows
download_thing koishipro/server/windows ygoserver.dll Windows
download_thing koishipro/server/windows ygoserver.dll Windows
...
@@ -71,3 +76,89 @@ StandaloneOSX:
...
@@ -71,3 +76,89 @@ StandaloneOSX:
variables
:
variables
:
BUILD_TARGET
:
StandaloneOSX
BUILD_TARGET
:
StandaloneOSX
EXEC_NAME
:
MDPro3.app
EXEC_NAME
:
MDPro3.app
resources
:
stage
:
build
tags
:
-
linux
dependencies
:
[]
script
:
# Picture
-
mkdir -p release/Picture
-
git clone --depth 1 https://code.moenext.com/mycard/hd-arts
-
mv hd-arts/arts release/Picture/Art
-
git clone --depth 1 https://code.moenext.com/mycard/ygopro2-closeup
-
mv ygopro2-closeup/closeup release/Picture/Closeup
# Ask sherry for Picture/DIY and Sound
-
mkdir -p release/Picture/DIY release/Sound
# standalone
-
mkdir -p release/Platforms
-
git clone --depth 1 https://code.moenext.com/sherry_chaos/mdpro3-assetbundles
# Ask sherry for mdpro3-assetbundles path relationship
-
mv mdpro3-assetbundles/StandaloneWindows64 release/Platforms/StandaloneWindows64
-
mv mdpro3-assetbundles/StandaloneOSX release/Platforms/StandaloneOSX
-
mv mdpro3-assetbundles/StandaloneLinux64 release/Platforms/StandaloneLinux64
-
mv mdpro3-assetbundles/iOS release/Platforms/iOS
# Data
-
git clone --depth 1 https://github.com/mycard/ygopro-scripts
-
rm Data/script.zip
-
cd ygopro-scripts
-
7z a -mx0 ../Data/script.zip *.lua
-
cd ..
-
wget -O Data/lflist.conf 'https://code.moenext.com/mycard/ygopro/-/raw/master/lflist.conf?inline=false'
-
wget -O Data/pack/pack.db https://cdn02.moecube.com:444/ygopro-card-list/pack.db
-
git clone --depth 1 https://code.moenext.com/mycard/ygopro-database
-
cp -rf ygopro-database/locales/* Data/locales
-
mv Data release/
artifacts
:
paths
:
-
release
.pack
:
stage
:
pack
tags
:
-
linux
script
:
-
mkdir -p dist
-
cd Builds/$BUILD_TARGET
-
mv ../../release/Picture .
-
mv ../../release/Platforms .
-
mv ../../release/Sound .
-
rsync -a ../../release/Data/ ./Data
-
tar --zstd -cf ../../dist/mdpro3-$CI_COMMIT_REF_NAME-$TARGET_PLATFORM.tar.zst .
-
cd ../..
artifacts
:
paths
:
-
dist
pack_windows
:
extends
:
.pack
variables
:
BUILD_TARGET
:
StandaloneWindows64
TARGET_PLATFORM
:
win32
dependencies
:
-
StandaloneWindows64
-
resources
pack_linux
:
extends
:
.pack
variables
:
BUILD_TARGET
:
StandaloneLinux64
TARGET_PLATFORM
:
linux
dependencies
:
-
StandaloneLinux64
-
resources
pack_macos
:
extends
:
.pack
variables
:
BUILD_TARGET
:
StandaloneOSX
TARGET_PLATFORM
:
darwin
dependencies
:
-
StandaloneOSX
-
resources
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