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
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
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
Pipeline
#35964
canceled with stages
in 10 minutes and 14 seconds
Changes
4
Pipelines
1
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
...
@@ -5,4 +5,4 @@ set -o errexit
apt update
&&
apt
-y
install tar
git zstd
apt update
&&
apt
-y
install tar
git zstd
mkdir
dist replay
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
...
@@ -5,4 +5,4 @@ set -o errexit
apt update
&&
apt
-y
install tar
git zstd
apt update
&&
apt
-y
install tar
git zstd
mkdir
dist replay
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
...
@@ -5,4 +5,4 @@ set -o errexit
apt update
&&
apt
-y
install tar
git zstd
apt update
&&
apt
-y
install tar
git zstd
mkdir
dist replay
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:
...
@@ -15,13 +15,13 @@ mat_common:
-
linux
-
linux
script
:
script
:
# lua
# 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
-
mv lua-5.4.4 lua
# sqlite3
# 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
-
mv sqlite-autoconf-3390300 sqlite3
# freetype
# 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
-
mv freetype-2.11.1 freetype
# miniaudio
# miniaudio
-
./.ci/prepare-miniaudio.sh
-
./.ci/prepare-miniaudio.sh
...
@@ -54,8 +54,8 @@ mat_linux:
...
@@ -54,8 +54,8 @@ mat_linux:
-
linux
-
linux
script
:
script
:
-
apt update; apt -y install git wget tar
-
apt update; apt -y install git wget tar
-
git clone --depth=1 https://code.mycard.moe/mycard/irrlicht-new irrlicht
-
./.ci/prepare-irrlicht.sh
# - wget -O - https://cdn0
1.moecube.com
/ygopro-build-materials/premake-5.0.0-beta5-linux.tar.gz | tar zfx -
# - 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
# - env PROCESSOR_COUNT=$(nproc) ./.ci/libevent-prebuild.sh
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -70,11 +70,11 @@ mat_macos:
...
@@ -70,11 +70,11 @@ mat_macos:
-
linux
-
linux
script
:
script
:
-
apt update; apt -y install wget tar
-
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
-
chmod +x premake5
-
mkdir irrlicht
-
mkdir irrlicht
-
cd 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 ..
-
cd ..
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -88,13 +88,13 @@ mat_windows:
...
@@ -88,13 +88,13 @@ mat_windows:
script
:
script
:
-
apt update; apt -y install wget tar patch p7zip-full
-
apt update; apt -y install wget tar patch p7zip-full
# premake5.exe
# 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
-
7z x -y premake-5.0.0-beta5-windows.zip
# event
# 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
-
mv libevent-2.0.22-stable event
# irrlicht
# irrlicht
-
git clone --depth=1 -b develop https://code.mycard.moe/mycard/irrlicht-new irrlicht
-
./.ci/prepare-irrlicht.sh
artifacts
:
artifacts
:
paths
:
paths
:
-
premake5.exe
-
premake5.exe
...
@@ -226,18 +226,20 @@ assets:
...
@@ -226,18 +226,20 @@ assets:
script
:
script
:
-
apt update; apt -y install tar wget git
-
apt update; apt -y install tar wget git
# starter pack
# 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/* .
-
mv ygopro-starter-pack-master/* .
# sound
# 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
-
mv ygopro-sounds-master/sound/* sound
# fonts
# fonts
-
mkdir fonts
-
mkdir fonts
-
cd 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 ..
-
cd ..
# pack
# 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 .
-
mv ygopro-card-list/pack .
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -256,7 +258,7 @@ assets_nonwindows:
...
@@ -256,7 +258,7 @@ assets_nonwindows:
-
linux
-
linux
script
:
script
:
-
apt update; apt -y install tar wget
-
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
:
artifacts
:
paths
:
paths
:
-
bot.conf
-
bot.conf
...
@@ -272,7 +274,7 @@ assets_windows:
...
@@ -272,7 +274,7 @@ assets_windows:
-
linux
-
linux
script
:
script
:
-
apt update; apt -y install wget p7zip-full
-
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
-
7z x -y WindBot.7z
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -469,7 +471,6 @@ upload:
...
@@ -469,7 +471,6 @@ upload:
-
linux
-
linux
variables
:
variables
:
appVersion
:
$CI_COMMIT_TAG
appVersion
:
$CI_COMMIT_TAG
#script: ./.ci/upload-packager.sh
script
:
./.ci/upload-packager.sh
script
:
'
true'
only
:
only
:
-
tags
-
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