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
1
Issues
1
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
MyCard
YGOProUnity_V2
Commits
7de81b28
Commit
7de81b28
authored
Mar 25, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use prebuilt dylibs
parent
6ae5a73f
Pipeline
#34167
failed
Changes
1
Pipelines
1
Hide 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
:
stages
:
-
fetch_ocgcore
-
ocgcore
-
ocgcore
-
build_and_test
-
build_and_test
-
pack
-
pack
...
@@ -45,88 +44,32 @@ image: $IMAGE:$UNITY_VERSION-base-$IMAGE_VERSION
...
@@ -45,88 +44,32 @@ image: $IMAGE:$UNITY_VERSION-base-$IMAGE_VERSION
tags
:
tags
:
-
linux
-
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
:
ocgcore_windows
:
extends
:
extends
:
.common_image
-
.ocgcore
tags
:
-
vs
script
:
script
:
-
cd AI_core_vs2017solution
-
wget -O Assets/Plugins/x86/ocgcore.dll https://cdn02.moecube.com:444/libocgcore-koishi/x32/ocgcore.dll
-
bash -c 'cp -rf build/windows/* .'
-
wget -O Assets/Plugins/x86/sqlite3.dll https://cdn02.moecube.com:444/libocgcore-koishi/x32/sqlite3.dll
-
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'
-
wget -O Assets/Plugins/x64/ocgcore.dll https://cdn02.moecube.com:444/libocgcore-koishi/x64/ocgcore.dll
-
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'
-
wget -O Assets/Plugins/x64/sqlite3.dll https://cdn02.moecube.com:444/libocgcore-koishi/x64/sqlite3.dll
-
bash -c 'cp -rf Release/ocgcore.dll ../Assets/Plugins/x86/ ; cp -rf x64/Release/ocgcore.dll ../Assets/Plugins/x64/'
artifacts
:
artifacts
:
paths
:
paths
:
-
Assets/Plugins/x86
-
Assets/Plugins/x86
-
Assets/Plugins/x64
-
Assets/Plugins/x64
ocgcore_linux
:
ocgcore_linux
:
extends
:
extends
:
.common_image
-
.ocgcore_unix
script
:
tags
:
-
wget -O Assets/Plugins/Linux/libocgcore.so https://cdn02.moecube.com:444/libocgcore-koishi/x64/libocgcore.so
-
linux
-
wget -O Assets/Plugins/Linux/libsqlite3.so https://cdn02.moecube.com:444/libocgcore-koishi/x64/libsqlite3.so
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
artifacts
:
artifacts
:
paths
:
paths
:
-
Assets/Plugins/Linux
-
Assets/Plugins/Linux
ocgcore_macos
:
ocgcore_macos
:
extends
:
extends
:
.common_image
-
.ocgcore_unix
script
:
tags
:
-
wget -O Assets/Plugins/MacOS/libocgcore.bundle https://cdn02.moecube.com:444/libocgcore-koishi/macos/libocgcore.dylib
-
macos
-
wget -O Assets/Plugins/MacOS/libsqlite3.bundle https://cdn02.moecube.com:444/libocgcore-koishi/macos/libsqlite3.dylib
variables
:
GMAKE_PLATFORM
:
macos
PLUGIN_PLATFORM
:
MacOS
OUTPUT_PATH
:
'
*.bundle'
artifacts
:
artifacts
:
paths
:
paths
:
-
Assets/Plugins/MacOS
-
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