Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
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
hex
YGOProUnity_V2
Commits
7de81b28
You need to sign in or sign up before continuing.
Commit
7de81b28
authored
Mar 25, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use prebuilt dylibs
parent
6ae5a73f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
70 deletions
+13
-70
.gitlab-ci.yml
.gitlab-ci.yml
+13
-70
No files found.
.gitlab-ci.yml
View file @
7de81b28
stages
:
-
fetch_ocgcore
-
ocgcore
-
build_and_test
-
pack
...
...
@@ -45,88 +44,32 @@ image: $IMAGE:$UNITY_VERSION-base-$IMAGE_VERSION
tags
:
-
linux
fetch_ocgcore
:
extends
:
.common_image
stage
:
fetch_ocgcore
dependencies
:
[]
script
:
-
cd AI_core_vs2017solution
# lua
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/lua-5.3.5.tar.gz | tar zfx -
-
mv lua-5.3.5/src lua
-
rm -rf lua-5.3.5
# sqlite3
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/sqlite-autoconf-3360000.tar.gz | tar zfx -
-
mv sqlite-autoconf-3360000 sqlite3
# ocgcore
-
git clone --depth=1 https://github.com/mycard/ygopro-core ocgcore
-
cd ..
artifacts
:
paths
:
-
AI_core_vs2017solution
.ocgcore
:
extends
:
.common_image
stage
:
ocgcore
dependencies
:
-
fetch_ocgcore
cache
:
key
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths
:
-
AI_core_vs2017solution/x64/Release
-
AI_core_vs2017solution/Release
-
AI_core_vs2017solution/bin
-
AI_core_vs2017solution/obj
.ocgcore_unix
:
extends
:
.ocgcore
script
:
-
cd AI_core_vs2017solution/build/gmake.$GMAKE_PLATFORM/
-
make config=release -j$(nproc)
-
cd ../..
-
cp -rf bin/gmake.$GMAKE_PLATFORM/$OUTPUT_PATH ../Assets/Plugins/$PLUGIN_PLATFORM/
ocgcore_windows
:
extends
:
-
.ocgcore
tags
:
-
vs
extends
:
.common_image
script
:
-
cd AI_core_vs2017solution
-
bash -c 'cp -rf build/windows/* .'
-
cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" core.sln /m /p:Configuration=Release /p:Platform=x86'
-
cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" core.sln /m /p:Configuration=Release /p:Platform=x64'
-
bash -c 'cp -rf Release/ocgcore.dll ../Assets/Plugins/x86/ ; cp -rf x64/Release/ocgcore.dll ../Assets/Plugins/x64/'
-
wget -O Assets/Plugins/x86/ocgcore.dll https://cdn02.moecube.com:444/libocgcore-koishi/x32/ocgcore.dll
-
wget -O Assets/Plugins/x86/sqlite3.dll https://cdn02.moecube.com:444/libocgcore-koishi/x32/sqlite3.dll
-
wget -O Assets/Plugins/x64/ocgcore.dll https://cdn02.moecube.com:444/libocgcore-koishi/x64/ocgcore.dll
-
wget -O Assets/Plugins/x64/sqlite3.dll https://cdn02.moecube.com:444/libocgcore-koishi/x64/sqlite3.dll
artifacts
:
paths
:
-
Assets/Plugins/x86
-
Assets/Plugins/x64
ocgcore_linux
:
extends
:
-
.ocgcore_unix
tags
:
-
linux
image
:
git-registry.mycard.moe/mycard/docker-runner-base:buster
before_script
:
-
apt update; apt -y install clang build-essential
variables
:
GMAKE_PLATFORM
:
linux
PLUGIN_PLATFORM
:
Linux
OUTPUT_PATH
:
x64/*.so
extends
:
.common_image
script
:
-
wget -O Assets/Plugins/Linux/libocgcore.so https://cdn02.moecube.com:444/libocgcore-koishi/x64/libocgcore.so
-
wget -O Assets/Plugins/Linux/libsqlite3.so https://cdn02.moecube.com:444/libocgcore-koishi/x64/libsqlite3.so
artifacts
:
paths
:
-
Assets/Plugins/Linux
ocgcore_macos
:
extends
:
-
.ocgcore_unix
tags
:
-
macos
variables
:
GMAKE_PLATFORM
:
macos
PLUGIN_PLATFORM
:
MacOS
OUTPUT_PATH
:
'
*.bundle'
extends
:
.common_image
script
:
-
wget -O Assets/Plugins/MacOS/libocgcore.bundle https://cdn02.moecube.com:444/libocgcore-koishi/macos/libocgcore.dylib
-
wget -O Assets/Plugins/MacOS/libsqlite3.bundle https://cdn02.moecube.com:444/libocgcore-koishi/macos/libsqlite3.dylib
artifacts
:
paths
:
-
Assets/Plugins/MacOS
...
...
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