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
06fff20f
Commit
06fff20f
authored
May 26, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update ci for static build
parent
db28d940
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
39 deletions
+26
-39
.gitlab-ci.yml
.gitlab-ci.yml
+26
-39
No files found.
.gitlab-ci.yml
View file @
06fff20f
...
@@ -23,6 +23,9 @@ mat_common:
...
@@ -23,6 +23,9 @@ mat_common:
# freetype
# freetype
-
wget -O - https://cdn02.moecube.com:444/ygopro-build-materials/freetype-2.13.3.tar.gz | tar zfx -
-
wget -O - https://cdn02.moecube.com:444/ygopro-build-materials/freetype-2.13.3.tar.gz | tar zfx -
-
mv freetype-2.13.3 freetype
-
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 -
-
mv libevent-2.1.12-stable event
# irrlicht
# irrlicht
-
./.ci/prepare-irrlicht.sh
-
./.ci/prepare-irrlicht.sh
# miniaudio
# miniaudio
...
@@ -34,6 +37,7 @@ mat_common:
...
@@ -34,6 +37,7 @@ mat_common:
-
lua
-
lua
-
freetype
-
freetype
-
sqlite3
-
sqlite3
-
event
-
irrlicht
-
irrlicht
-
miniaudio
-
miniaudio
...
@@ -72,7 +76,6 @@ mat_macos:
...
@@ -72,7 +76,6 @@ mat_macos:
tags
:
tags
:
-
linux
-
linux
script
:
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/ygopro-build-materials/premake-5.0.0-beta6-macosx.tar.gz | tar zfx -
-
chmod +x premake5
-
chmod +x premake5
artifacts
:
artifacts
:
...
@@ -84,31 +87,24 @@ mat_windows:
...
@@ -84,31 +87,24 @@ mat_windows:
tags
:
tags
:
-
linux
-
linux
script
:
script
:
-
apt update; apt -y install wget tar patch p7zip-full
# premake5.exe
# premake5.exe
-
wget https://cdn02.moecube.com:444/ygopro-build-materials/premake-5.0.0-beta6-windows.zip
-
wget https://cdn02.moecube.com:444/ygopro-build-materials/premake-5.0.0-beta6-windows.zip
-
7z x -y premake-5.0.0-beta6-windows.zip
-
7z x -y premake-5.0.0-beta6-windows.zip
# event
-
wget -O - https://cdn02.moecube.com:444/ygopro-build-materials/libevent-2.1.12-stable.tar.gz | tar zfx -
-
mv libevent-2.1.12-stable event
artifacts
:
artifacts
:
paths
:
paths
:
-
premake5.exe
-
premake5.exe
-
event
exec_windows
:
._exec_build
:
stage
:
build
stage
:
build
exec_windows
:
extends
:
._exec_build
tags
:
tags
:
-
vs
-
vs
dependencies
:
dependencies
:
-
mat_common
-
mat_common
-
mat_windows
-
mat_windows
-
mat_submodules
-
mat_submodules
cache
:
key
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths
:
-
bin/
-
obj/
script
:
script
:
-
bash -c 'cp -rf premake/* . ; cp -rf resource/* .'
-
bash -c 'cp -rf premake/* . ; cp -rf resource/* .'
-
'
.\premake5.exe
vs2019'
-
'
.\premake5.exe
vs2019'
...
@@ -118,33 +114,31 @@ exec_windows:
...
@@ -118,33 +114,31 @@ exec_windows:
paths
:
paths
:
-
ygopro.exe
-
ygopro.exe
.exec_unix
:
extends
:
._exec_build
variables
:
BUILD_FREETYPE
:
'
1'
BUILD_SQLITE
:
'
1'
BUILD_IRRLICHT
:
'
1'
BUILD_EVENT
:
'
1'
BUILD_OPUS_VORBIS
:
'
1'
AUDIO_LIB
:
'
miniaudio'
MINIAUDIO_SUPPORT_OPUS_VORBIS
:
'
1'
BUILD_OPUS_VORBIS
:
'
1'
before_script
:
-
./.ci/configure-libevent.sh
exec_linux
:
exec_linux
:
stage
:
build
extends
:
.exec_unix
tags
:
tags
:
-
linux
-
avx2
image
:
git-registry.moenext.com/mycard/docker-ygopro-builder:latest
image
:
git-registry.moenext.com/mycard/docker-ygopro-builder:latest
dependencies
:
dependencies
:
-
mat_common
-
mat_common
#- mat_linux
#- mat_linux
-
mat_submodules
-
mat_submodules
variables
:
EVENT_INCLUDE_DIR
:
/usr/share/libevent-stable/include
EVENT_LIB_DIR
:
/usr/share/libevent-stable/lib
OPUS_INCLUDE_DIR
:
$CI_PROJECT_DIR/miniaudio/external-built/include/opus
OPUS_LIB_DIR
:
$CI_PROJECT_DIR/miniaudio/external-built/lib
OPUSFILE_INCLUDE_DIR
:
$CI_PROJECT_DIR/miniaudio/external-built/include/opus
OPUSFILE_LIB_DIR
:
$CI_PROJECT_DIR/miniaudio/external-built/lib
VORBIS_INCLUDE_DIR
:
$CI_PROJECT_DIR/miniaudio/external-built/include
VORBIS_LIB_DIR
:
$CI_PROJECT_DIR/miniaudio/external-built/lib
OGG_INCLUDE_DIR
:
$CI_PROJECT_DIR/miniaudio/external-built/include
OGG_LIB_DIR
:
$CI_PROJECT_DIR/miniaudio/external-built/lib
cache
:
key
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths
:
-
bin/
-
obj/
script
:
script
:
-
./.ci/
build-opus
.sh
-
./.ci/
configure-audio
.sh
-
premake5 gmake --build-freetype --build-sqlite
-
premake5 gmake --build-freetype --build-sqlite
-
cd build
-
cd build
-
make config=release -j$(nproc)
-
make config=release -j$(nproc)
...
@@ -156,16 +150,11 @@ exec_linux:
...
@@ -156,16 +150,11 @@ exec_linux:
-
ygopro
-
ygopro
.exec_macos_platform
:
.exec_macos_platform
:
stage
:
build
extends
:
.exec_unix
dependencies
:
dependencies
:
-
mat_macos
-
mat_macos
-
mat_common
-
mat_common
-
mat_submodules
-
mat_submodules
cache
:
key
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths
:
-
bin/
-
obj/
script
:
./.ci/exec-macos-platform.sh
script
:
./.ci/exec-macos-platform.sh
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -180,8 +169,6 @@ exec_macos_platform_m1:
...
@@ -180,8 +169,6 @@ exec_macos_platform_m1:
extends
:
.exec_macos_platform
extends
:
.exec_macos_platform
tags
:
tags
:
-
macos-m1
-
macos-m1
variables
:
MAC_ARM
:
1
exec_macos
:
exec_macos
:
stage
:
combine
stage
:
combine
...
...
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