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
54907993
Commit
54907993
authored
May 06, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update ci
parent
184c8798
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
21 deletions
+22
-21
.ci/pack-linux.sh
.ci/pack-linux.sh
+1
-1
.ci/pack-macos.sh
.ci/pack-macos.sh
+1
-1
.ci/pack-windows.sh
.ci/pack-windows.sh
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+19
-18
No files found.
.ci/pack-linux.sh
View file @
54907993
...
...
@@ -5,4 +5,4 @@ set -o errexit
apt update
&&
apt
-y
install tar
git zstd
mkdir
dist replay
tar
--zstd
-cf
dist/ygopro-
$CI_COMMIT_REF_NAME
-linux-
$TARGET_LOCALE
.tar.zst
--exclude
=
'.git*'
ygopro LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay sound windbot bot bot.conf pack
tar
--zstd
-cf
dist/ygopro-
$CI_COMMIT_REF_NAME
-linux-
$TARGET_LOCALE
.tar.zst
--exclude
=
'.git*'
ygopro LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay sound windbot bot bot.conf pack
fonts
.ci/pack-macos.sh
View file @
54907993
...
...
@@ -5,4 +5,4 @@ set -o errexit
apt update
&&
apt
-y
install tar
git zstd
mkdir
dist replay
tar
--zstd
-cf
dist/ygopro-
$CI_COMMIT_REF_NAME
-darwin-
$TARGET_LOCALE
.tar.zst
--exclude
=
'.git*'
ygopro.app LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay sound windbot bot bot.conf pack
tar
--zstd
-cf
dist/ygopro-
$CI_COMMIT_REF_NAME
-darwin-
$TARGET_LOCALE
.tar.zst
--exclude
=
'.git*'
ygopro.app LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay sound windbot bot bot.conf pack
fonts
.ci/pack-windows.sh
View file @
54907993
...
...
@@ -5,4 +5,4 @@ set -o errexit
apt update
&&
apt
-y
install tar
git zstd
mkdir
dist replay
tar
--zstd
-cf
dist/ygopro-
$CI_COMMIT_REF_NAME
-win32-
$TARGET_LOCALE
.tar.zst
--exclude
=
'.git*'
ygopro.exe LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay sound bot.conf Bot.exe WindBot pack
tar
--zstd
-cf
dist/ygopro-
$CI_COMMIT_REF_NAME
-win32-
$TARGET_LOCALE
.tar.zst
--exclude
=
'.git*'
ygopro.exe LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay sound bot.conf Bot.exe WindBot pack
fonts
.gitlab-ci.yml
View file @
54907993
...
...
@@ -15,13 +15,13 @@ mat_common:
-
linux
script
:
# lua
-
wget -O - https://cdn0
1.moecube.com
/ygopro-build-materials/lua-5.4.4.tar.gz | tar zfx -
-
wget -O - https://cdn0
2.moecube.com:444
/ygopro-build-materials/lua-5.4.4.tar.gz | tar zfx -
-
mv lua-5.4.4 lua
# sqlite3
-
wget -O - https://cdn0
1.moecube.com
/ygopro-build-materials/sqlite-autoconf-3390300.tar.gz | tar zfx -
-
wget -O - https://cdn0
2.moecube.com:444
/ygopro-build-materials/sqlite-autoconf-3390300.tar.gz | tar zfx -
-
mv sqlite-autoconf-3390300 sqlite3
# freetype
-
wget -O - https://cdn0
1.moecube.com
/ygopro-build-materials/freetype-2.11.1.tar.gz | tar zfx -
-
wget -O - https://cdn0
2.moecube.com:444
/ygopro-build-materials/freetype-2.11.1.tar.gz | tar zfx -
-
mv freetype-2.11.1 freetype
# miniaudio
-
./.ci/prepare-miniaudio.sh
...
...
@@ -54,8 +54,8 @@ mat_linux:
-
linux
script
:
-
apt update; apt -y install git wget tar
-
git clone --depth=1 https://code.mycard.moe/mycard/irrlicht-new irrlicht
# - wget -O - https://cdn0
1.moecube.com
/ygopro-build-materials/premake-5.0.0-beta5-linux.tar.gz | tar zfx -
-
./.ci/prepare-irrlicht.sh
# - wget -O - https://cdn0
2.moecube.com:444
/ygopro-build-materials/premake-5.0.0-beta5-linux.tar.gz | tar zfx -
# - env PROCESSOR_COUNT=$(nproc) ./.ci/libevent-prebuild.sh
artifacts
:
paths
:
...
...
@@ -70,11 +70,11 @@ mat_macos:
-
linux
script
:
-
apt update; apt -y install wget tar
-
wget -O - https://cdn0
1.moecube.com
/ygopro-build-materials/premake-5.0.0-beta5-macosx.tar.gz | tar zfx -
-
wget -O - https://cdn0
2.moecube.com:444
/ygopro-build-materials/premake-5.0.0-beta5-macosx.tar.gz | tar zfx -
-
chmod +x premake5
-
mkdir irrlicht
-
cd irrlicht
-
wget -O - https://cdn0
1.moecube.com
/ygopro-build-materials/irrlicht-mycard-mac.tar.gz | tar zfx -
-
wget -O - https://cdn0
2.moecube.com:444
/ygopro-build-materials/irrlicht-mycard-mac.tar.gz | tar zfx -
-
cd ..
artifacts
:
paths
:
...
...
@@ -88,13 +88,13 @@ mat_windows:
script
:
-
apt update; apt -y install wget tar patch p7zip-full
# premake5.exe
-
wget https://cdn0
1.moecube.com
/ygopro-build-materials/premake-5.0.0-beta5-windows.zip
-
wget https://cdn0
2.moecube.com:444
/ygopro-build-materials/premake-5.0.0-beta5-windows.zip
-
7z x -y premake-5.0.0-beta5-windows.zip
# event
-
wget -O - https://cdn0
1.moecube.com
/ygopro-build-materials/libevent-2.0.22-stable.tar.gz | tar zfx -
-
wget -O - https://cdn0
2.moecube.com:444
/ygopro-build-materials/libevent-2.0.22-stable.tar.gz | tar zfx -
-
mv libevent-2.0.22-stable event
# irrlicht
-
git clone --depth=1 -b develop https://code.mycard.moe/mycard/irrlicht-new irrlicht
-
./.ci/prepare-irrlicht.sh
artifacts
:
paths
:
-
premake5.exe
...
...
@@ -226,18 +226,20 @@ assets:
script
:
-
apt update; apt -y install tar wget git
# starter pack
-
wget -O - https://code.m
ycard.moe
/mycard/ygopro-starter-pack/-/archive/master/ygopro-starter-pack-master.tar.gz | tar zfx -
-
wget -O - https://code.m
oenext.com
/mycard/ygopro-starter-pack/-/archive/master/ygopro-starter-pack-master.tar.gz | tar zfx -
-
mv ygopro-starter-pack-master/* .
# sound
-
wget -O - https://code.m
ycard.moe
/mycard/ygopro-sounds/-/archive/master/ygopro-sounds-master.tar.gz | tar zfx -
-
wget -O - https://code.m
oenext.com
/mycard/ygopro-sounds/-/archive/master/ygopro-sounds-master.tar.gz | tar zfx -
-
mv ygopro-sounds-master/sound/* sound
# fonts
-
mkdir fonts
-
cd fonts
-
wget -O - https://cdn01.moecube.com/ygopro-fonts.tar.gz | tar zfx -
-
wget -O - https://cdn02.moecube.com:444/ygopro-fonts.tar.gz | tar zfx -
-
mv simhei.ttf textFont.ttf
-
mv arial.ttf numFont.ttf
-
cd ..
# pack
-
git clone --depth=1 https://code.m
ycard.moe
/mycard/ygopro-card-list
-
git clone --depth=1 https://code.m
oenext.com
/mycard/ygopro-card-list
-
mv ygopro-card-list/pack .
artifacts
:
paths
:
...
...
@@ -256,7 +258,7 @@ assets_nonwindows:
-
linux
script
:
-
apt update; apt -y install tar wget
-
wget -O - https://cdn0
1.moecube.com
/windbot-mc/windbot.tar.gz | tar zfx -
-
wget -O - https://cdn0
2.moecube.com:444
/windbot-mc/windbot.tar.gz | tar zfx -
artifacts
:
paths
:
-
bot.conf
...
...
@@ -272,7 +274,7 @@ assets_windows:
-
linux
script
:
-
apt update; apt -y install wget p7zip-full
-
wget https://cdn0
1.moecube.com
/windbot-mc/WindBot.7z
-
wget https://cdn0
2.moecube.com:444
/windbot-mc/WindBot.7z
-
7z x -y WindBot.7z
artifacts
:
paths
:
...
...
@@ -469,7 +471,6 @@ upload:
-
linux
variables
:
appVersion
:
$CI_COMMIT_TAG
#script: ./.ci/upload-packager.sh
script
:
'
true'
script
:
./.ci/upload-packager.sh
only
:
-
tags
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