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
nanahira
ygopro
Commits
bb728784
Commit
bb728784
authored
Jun 15, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add use mat-cacher for ci
parent
db9afc59
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
40 additions
and
32 deletions
+40
-32
.ci/exec-macos-platform.sh
.ci/exec-macos-platform.sh
+1
-1
.ci/prepare-irrlicht.sh
.ci/prepare-irrlicht.sh
+2
-13
.ci/prepare-miniaudio.sh
.ci/prepare-miniaudio.sh
+7
-8
.ci/prepare-repo
.ci/prepare-repo
+20
-0
.gitlab-ci.yml
.gitlab-ci.yml
+9
-9
ocgcore
ocgcore
+1
-1
No files found.
.ci/exec-macos-platform.sh
View file @
bb728784
...
...
@@ -16,7 +16,7 @@ make config=release -j$(sysctl -n hw.ncpu)
cd
..
mkdir
ygopro-platforms
mv
bin/release/YGOPro
.app
$TARGET_YGOPRO_BINARY_PATH
mv
bin/release/YGOPro
$TARGET_YGOPRO_BINARY_PATH
#if [[ $TARGET_PLATFORM == "x86" ]]; then
# install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/../Frameworks/libirrklang.dylib $TARGET_YGOPRO_BINARY_PATH
...
...
.ci/prepare-irrlicht.sh
View file @
bb728784
#!/bin/bash
set
-x
set
-o
errexit
source
.ci/asset-branch
IRRLICHT_REPO_URL
=
"https://code.moenext.com/mycard/irrlicht-new.git"
IRRLICHT_BRANCH_NAME
=
"
$ASSET_BRANCH_NAME
"
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
source
.ci/prepare-repo
prepare_repo
"https://code.moenext.com/mycard/irrlicht-new.git"
"irrlicht"
.ci/prepare-miniaudio.sh
View file @
bb728784
#!/bin/sh
#!/bin/
ba
sh
set
-x
set
-o
errexit
if
[
!
-d
"miniaudio"
]
;
then
git clone
--depth
=
1
--branch
0.11.22 https://github.com/mackron/miniaudio
fi
source
.ci/prepare-repo
prepare_repo
"https://code.moenext.com/mycard/miniaudio.git"
"miniaudio"
cp
-rf
miniaudio/extras/miniaudio_split/miniaudio.
*
miniaudio/
...
...
@@ -20,7 +19,7 @@ install_external() {
fi
}
install_external
"ogg"
"https://github.com/xiph/ogg/releases/download/v1.3.5/libogg-1.3.5.tar.gz"
install_external
"opus"
"https://github.com/xiph/opus/releases/download/v1.5.2/opus-1.5.2.tar.gz"
install_external
"opusfile"
"https://github.com/xiph/opusfile/releases/download/v0.12/opusfile-0.12.tar.gz"
install_external
"vorbis"
"https://github.com/xiph/vorbis/releases/download/v1.3.7/libvorbis-1.3.7.tar.gz"
install_external
"ogg"
"https://
mat-cacher.moenext.com/https://
github.com/xiph/ogg/releases/download/v1.3.5/libogg-1.3.5.tar.gz"
install_external
"opus"
"https://
mat-cacher.moenext.com/https://
github.com/xiph/opus/releases/download/v1.5.2/opus-1.5.2.tar.gz"
install_external
"opusfile"
"https://
mat-cacher.moenext.com/https://
github.com/xiph/opusfile/releases/download/v0.12/opusfile-0.12.tar.gz"
install_external
"vorbis"
"https://
mat-cacher.moenext.com/https://
github.com/xiph/vorbis/releases/download/v1.3.7/libvorbis-1.3.7.tar.gz"
.ci/prepare-repo
0 → 100755
View file @
bb728784
source .ci/asset-branch
BRANCH_NAME="$ASSET_BRANCH_NAME"
prepare_repo() {
REPO_URL="$1"
TARGET_DIR_NAME="$2"
if [ ! -d "$TARGET_DIR_NAME" ]; then
echo "Cloning repository $REPO_URL branch $BRANCH_NAME into $TARGET_DIR_NAME"
git clone --depth=1 --branch "$BRANCH_NAME" "$REPO_URL" "$TARGET_DIR_NAME"
else
echo "Repository $REPO_URL already exists in $TARGET_DIR_NAME, updating to $BRANCH_NAME..."
cd "$TARGET_DIR_NAME"
git remote set-url origin "$REPO_URL"
git fetch origin "$BRANCH_NAME"
git checkout "$BRANCH_NAME"
git reset --hard origin/"$BRANCH_NAME"
cd ..
fi
}
.gitlab-ci.yml
View file @
bb728784
...
...
@@ -14,16 +14,16 @@ mat_common:
-
linux
script
:
# lua
-
wget -O - https://
cdn02.moecube.com:444/ygopro-build-materials/lua-5.4.7
.tar.gz | tar zfx -
-
mv lua-5.4.
7
lua
-
wget -O - https://
mat-cacher.moenext.com/https://www.lua.org/ftp/lua-5.4.8
.tar.gz | tar zfx -
-
mv lua-5.4.
8
lua
# sqlite3
-
wget -O - https://
cdn02.moecube.com:444/ygopro-build-materials/sqlite-autoconf-349
0100.tar.gz | tar zfx -
-
mv sqlite-autoconf-3
49
0100 sqlite3
-
wget -O - https://
mat-cacher.moenext.com/https://www.sqlite.org/2025/sqlite-autoconf-350
0100.tar.gz | tar zfx -
-
mv sqlite-autoconf-3
50
0100 sqlite3
# freetype
-
wget -O - https://
cdn02.moecube.com:444/ygopro-build-materials
/freetype-2.13.3.tar.gz | tar zfx -
-
wget -O - https://
mat-cacher.moenext.com/https://downloads.sourceforge.net/freetype
/freetype-2.13.3.tar.gz | tar zfx -
-
mv freetype-2.13.3 freetype
# event
-
wget -O - https://
cdn02.moecube.com:444/ygopro-build-materials
/libevent-2.1.12-stable.tar.gz | tar zfx -
-
wget -O - https://
mat-cacher.moenext.com/https://github.com/libevent/libevent/releases/download/release-2.1.12-stable
/libevent-2.1.12-stable.tar.gz | tar zfx -
-
mv libevent-2.1.12-stable event
# irrlicht
-
./.ci/prepare-irrlicht.sh
...
...
@@ -72,7 +72,7 @@ mat_macos:
-
linux
script
:
-
apt update; apt -y install wget tar
-
wget -O - https://cdn02.moecube.com:444/
ygopro-build-materials/premake-5.0.0-beta6
-macosx.tar.gz | tar zfx -
-
wget -O - https://cdn02.moecube.com:444/
premake5-built/premake-5.0.0-beta7
-macosx.tar.gz | tar zfx -
-
chmod +x premake5
artifacts
:
paths
:
...
...
@@ -85,8 +85,8 @@ mat_windows:
script
:
-
apt update; apt -y install wget tar patch p7zip-full
# premake5.exe
-
wget https://cdn02.moecube.com:444/
ygopro-build-materials/premake-5.0.0-beta6
-windows.zip
-
7z x -y premake-5.0.0-beta
6
-windows.zip
-
wget https://cdn02.moecube.com:444/
premake5-built/premake-5.0.0-beta7
-windows.zip
-
7z x -y premake-5.0.0-beta
7
-windows.zip
artifacts
:
paths
:
-
premake5.exe
...
...
ocgcore
@
76b4b3ad
Subproject commit
ae7a3b8110a64387fe9812bbccb7b685a731a12f
Subproject commit
76b4b3ad89fe967bd701f3dbd453d03e6381da37
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