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
00717494
Commit
00717494
authored
Mar 15, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ci for miniaudio
parent
6496fd4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
41 deletions
+2
-41
.gitlab-ci.yml
.gitlab-ci.yml
+2
-41
No files found.
.gitlab-ci.yml
View file @
00717494
...
...
@@ -45,21 +45,6 @@ mat_submodules:
-
ocgcore
-
script
mat_irrklang
:
stage
:
prepare
tags
:
-
linux
script
:
-
apt update; apt -y install git
-
mkdir -p ~/.ssh; chmod 700 ~/.ssh; echo "$NANAHIRA_SSH_KEY" | base64 --decode > ~/.ssh/id_rsa; chmod 600 ~/.ssh/id_rsa
-
ssh-keyscan git.mycard.moe >> ~/.ssh/known_hosts
-
git clone --depth=1 git@git.mycard.moe:nanahira/irrklang
-
mv -f irrklang/plugins/ikpmp3 .
artifacts
:
paths
:
-
irrklang
-
ikpmp3
mat_linux
:
stage
:
prepare
tags
:
...
...
@@ -76,17 +61,6 @@ mat_linux:
-
libevent-stable
image
:
git-registry.mycard.moe/mycard/docker-runner-base:debian11
#mat_macos_irrklang_patched:
# stage: build
# tags:
# - linux
# dependencies: []
# script:
# - wget -O - https://cdn01.moecube.com/ygopro-build-materials/libirrklang-patched-dylib.tar.gz | tar zfx -
# artifacts:
# paths:
# - libirrklang-patched.dylib
mat_macos
:
stage
:
prepare
tags
:
...
...
@@ -94,7 +68,6 @@ mat_macos:
script
:
-
apt update; apt -y install wget tar
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-beta2-macosx.tar.gz | tar zfx -
# - wget -O - https://cdn01.moecube.com/ygopro-build-materials/libirrklang-patched-dylib.tar.gz | tar zfx -
-
mkdir irrlicht
-
cd irrlicht
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/irrlicht-mycard-mac.tar.gz | tar zfx -
...
...
@@ -130,7 +103,6 @@ exec_windows:
-
vs
dependencies
:
-
mat_common
-
mat_irrklang
-
mat_windows
-
mat_submodules
cache
:
...
...
@@ -140,7 +112,7 @@ exec_windows:
-
obj/
script
:
-
bash -c 'cp -rf premake/* .'
-
'
.\premake5.exe
vs2019
--irrklang-pro
'
-
'
.\premake5.exe
vs2019'
-
cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" build\YGOPro.sln /m /p:Configuration=Release'
-
copy bin\release\ygopro.exe .
artifacts
:
...
...
@@ -153,7 +125,6 @@ exec_linux:
-
linux
dependencies
:
-
mat_common
-
mat_irrklang
-
mat_linux
-
mat_submodules
cache
:
...
...
@@ -163,12 +134,9 @@ exec_linux:
-
obj/
script
:
-
apt update; apt -y install git build-essential libgl1-mesa-dev libglu-dev libxxf86vm-dev
-
mkdir lib
-
cp -rf irrklang/bin/linux-gcc-64/libIrrKlang.so ./lib/
# - cp -rf irrklang/bin/linux-gcc-64/ikpMP3.so ./lib/
-
export EVENT_INCLUDE_DIR=$PWD/libevent-stable/include
-
export EVENT_LIB_DIR=$PWD/libevent-stable/lib
-
./premake5 gmake --build-freetype --build-sqlite --build-irrlicht
--build-ikpmp3 --irrklang-pro
-
./premake5 gmake --build-freetype --build-sqlite --build-irrlicht
-
cd build
-
make config=release -j$(nproc)
-
cd ..
...
...
@@ -177,7 +145,6 @@ exec_linux:
artifacts
:
paths
:
-
ygopro
-
lib
image
:
git-registry.mycard.moe/mycard/docker-runner-base:debian11
.exec_macos_platform
:
...
...
@@ -215,15 +182,9 @@ exec_macos:
dependencies
:
-
exec_macos_platform_x86
-
exec_macos_platform_m1
#- mat_macos_irrklang_patched
script
:
-
mkdir -p ygopro.app/Contents/MacOS ygopro.app/Contents/Frameworks;
-
lipo -create -output ygopro.app/Contents/MacOS/ygopro $(ls -1 ygopro-platforms/ygopro-platform-*);
# do some special things for irrklang
# - mv ./libirrklang-patched.dylib ygopro.app/Contents/Frameworks/libirrklang.dylib
#- install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/../Frameworks/libirrklang.dylib ygopro.app/Contents/MacOS/ygopro
#- dylibbundler -x ygopro.app/Contents/MacOS/ygopro -b -d ygopro.app/Contents/Frameworks/ -p @executable_path/../Frameworks/ -cd -i @executable_path/../Frameworks;
#- strip ygopro.app/Contents/MacOS/ygopro;
-
mkdir ygopro.app/Contents/Resources;
-
mv premake/gframe/ygopro.icns ygopro.app/Contents/Resources/Icon.icns;
-
defaults write "$PWD/ygopro.app/Contents/Info.plist" "CFBundleIconFile" "Icon.icns";
...
...
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