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
0196bc51
Commit
0196bc51
authored
May 06, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update ci url
parent
c5f75a65
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
51 additions
and
26 deletions
+51
-26
.ci/assets-locale.sh
.ci/assets-locale.sh
+2
-2
.ci/libevent-prebuild.sh
.ci/libevent-prebuild.sh
+1
-1
.ci/prepare-irrlicht.sh
.ci/prepare-irrlicht.sh
+21
-0
.ci/upload-packager.sh
.ci/upload-packager.sh
+10
-6
.gitlab-ci.yml
.gitlab-ci.yml
+16
-16
ocgcore
ocgcore
+1
-1
No files found.
.ci/assets-locale.sh
View file @
0196bc51
...
@@ -3,8 +3,8 @@ set -x
...
@@ -3,8 +3,8 @@ set -x
set
-o
errexit
set
-o
errexit
# ygopro-database
# ygopro-database
apt update
&&
apt
-y
install
wget git libarchive-tools
apt update
&&
apt
-y
install
wget git libarchive-tools
git clone
--depth
=
1 https://code.m
ycard.moe
/nanahira/ygopro-database
git clone
--depth
=
1 https://code.m
oenext.com
/nanahira/ygopro-database
cp
-rf
./ygopro-database/locales/
$TARGET_LOCALE
/
*
.
cp
-rf
./ygopro-database/locales/
$TARGET_LOCALE
/
*
.
# ygopro-images
# ygopro-images
mkdir
pics
mkdir
pics
wget
-O
- https://cdn0
1.moecube.com
/images/ygopro-images-
${
TARGET_LOCALE
}
.zip | bsdtar
-C
pics
-xf
-
wget
-O
- https://cdn0
2.moecube.com:444
/images/ygopro-images-
${
TARGET_LOCALE
}
.zip | bsdtar
-C
pics
-xf
-
.ci/libevent-prebuild.sh
View file @
0196bc51
...
@@ -8,7 +8,7 @@ if [ -d "libevent-stable" ]; then
...
@@ -8,7 +8,7 @@ if [ -d "libevent-stable" ]; then
fi
fi
if
[
!
-d
"libevent-2.0.22-stable"
]
;
then
if
[
!
-d
"libevent-2.0.22-stable"
]
;
then
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 -
fi
fi
install_path
=
"
$PWD
/libevent-stable"
install_path
=
"
$PWD
/libevent-stable"
...
...
.ci/prepare-irrlicht.sh
0 → 100755
View file @
0196bc51
#!/bin/bash
set
-x
set
-o
errexit
IRRLICHT_REPO_URL
=
"https://code.moenext.com/mycard/irrlicht-new.git"
IRRLICHT_BRANCH_NAME
=
"master"
# if $CI_COMMIT_REF_NAME includes develop or pre, then we use the develop branch
if
[[
"
$CI_COMMIT_REF_NAME
"
==
*
"develop"
*
||
"
$CI_COMMIT_REF_NAME
"
==
*
".pre"
*
]]
;
then
IRRLICHT_BRANCH_NAME
=
"develop"
fi
if
[
!
-d
"irrlicht"
]
;
then
git clone
--depth
=
1
--branch
"
$IRRLICHT_BRANCH_NAME
"
"
$IRRLICHT_REPO_URL
"
irrlicht
else
cd
irrlicht
git fetch origin
"
$IRRLICHT_BRANCH_NAME
"
git checkout
"
$IRRLICHT_BRANCH_NAME
"
git reset
--hard
origin/
"
$IRRLICHT_BRANCH_NAME
"
cd
..
fi
.ci/upload-packager.sh
View file @
0196bc51
...
@@ -33,9 +33,13 @@ runForDepot() {
...
@@ -33,9 +33,13 @@ runForDepot() {
echo
"
$result
"
| jq
.
echo
"
$result
"
| jq
.
}
}
runForDepot win32 zh-CN
if
[[
"
$CI_COMMIT_TAG
"
==
*
".pre"
*
]]
;
then
runForDepot linux zh-CN
echo
"This is a pre-release, skipping upload."
runForDepot darwin zh-CN
else
runForDepot win32 en-US
runForDepot win32 zh-CN
runForDepot linux en-US
runForDepot linux zh-CN
runForDepot darwin en-US
runForDepot darwin zh-CN
runForDepot win32 en-US
runForDepot linux en-US
runForDepot darwin en-US
fi
.gitlab-ci.yml
View file @
0196bc51
...
@@ -14,13 +14,13 @@ mat_common:
...
@@ -14,13 +14,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,7 +54,7 @@ mat_linux:
...
@@ -54,7 +54,7 @@ mat_linux:
image
:
git-registry.mycard.moe/mycard/docker-runner-base:debian11
image
:
git-registry.mycard.moe/mycard/docker-runner-base:debian11
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
artifacts
:
artifacts
:
paths
:
paths
:
-
irrlicht
-
irrlicht
...
@@ -65,11 +65,11 @@ mat_macos:
...
@@ -65,11 +65,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
:
...
@@ -83,13 +83,13 @@ mat_windows:
...
@@ -83,13 +83,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
...
@@ -229,21 +229,21 @@ assets:
...
@@ -229,21 +229,21 @@ 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://cdn0
1.moecube.com
/ygopro-fonts.tar.gz | tar zfx -
-
wget -O - https://cdn0
2.moecube.com:444
/ygopro-fonts.tar.gz | tar zfx -
-
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 .
# locales
# locales
-
git clone --depth=1 https://code.m
ycard.moe
/nanahira/ygopro-database
-
git clone --depth=1 https://code.m
oenext.com
/nanahira/ygopro-database
-
mv ygopro-database/locales .
-
mv ygopro-database/locales .
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -263,7 +263,7 @@ assets_nonwindows:
...
@@ -263,7 +263,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/windbot.tar.gz | tar zfx -
-
wget -O - https://cdn0
2.moecube.com:444
/windbot/windbot.tar.gz | tar zfx -
artifacts
:
artifacts
:
paths
:
paths
:
-
bot.conf
-
bot.conf
...
@@ -278,7 +278,7 @@ assets_windows:
...
@@ -278,7 +278,7 @@ assets_windows:
tags
:
tags
:
-
linux
-
linux
script
:
script
:
-
wget https://cdn0
1.moecube.com
/windbot/WindBot.7z
-
wget https://cdn0
2.moecube.com:444
/windbot/WindBot.7z
-
7z x -y WindBot.7z
-
7z x -y WindBot.7z
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync s3://mycard/koishipro/contents/update-koishipro/ ./update-koishipro
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync s3://mycard/koishipro/contents/update-koishipro/ ./update-koishipro
-
rm -rf update-koishipro/.git ||
true
-
rm -rf update-koishipro/.git ||
true
...
...
ocgcore
@
ea1f4623
Subproject commit
9e0f7bdb467b07d6f39931fda773988de084f82
c
Subproject commit
ea1f4623b88d12998e548bf7fc06cc163ec823d
c
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