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
Commits
20bcf95c
Commit
20bcf95c
authored
Jul 01, 2024
by
苍蓝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8375b685
Pipeline
#28079
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
76 deletions
+3
-76
.gitlab-ci.yml
.gitlab-ci.yml
+3
-76
No files found.
.gitlab-ci.yml
View file @
20bcf95c
stages
:
-
prepare
-
build
-
combine
-
pack
-
deploy
#
- combine
#
- pack
#
- deploy
variables
:
GIT_DEPTH
:
"
1"
...
...
@@ -150,79 +150,6 @@ exec_windows:
paths
:
-
ygopro.exe
exec_linux
:
extends
:
._exec_build
tags
:
-
linux
image
:
git-registry.mycard.moe/mycard/docker-runner-base:debian11
dependencies
:
-
mat_common
-
mat_irrklang
-
mat_linux
-
mat_submodules
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
-
cd build
-
make config=release -j$(nproc)
-
cd ..
-
mv bin/release/YGOPro ./ygopro
-
strip ygopro
artifacts
:
paths
:
-
ygopro
-
lib
._exec_macos_platform
:
extends
:
._exec_build
dependencies
:
-
mat_macos
-
mat_common
-
mat_submodules
script
:
-
./.ci/exec-macos-platform.sh
artifacts
:
paths
:
-
ygopro-platforms
exec_macos_platform_x86
:
extends
:
._exec_macos_platform
tags
:
-
macos
exec_macos_platform_m1
:
extends
:
._exec_macos_platform
tags
:
-
macos-m1
variables
:
MAC_ARM
:
1
exec_macos
:
stage
:
combine
tags
:
-
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";
-
defaults write "$PWD/ygopro.app/Contents/Info.plist" "CFBundleIdentifier" "moe.mycard.ygopro";
artifacts
:
paths
:
...
...
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