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
f8613a14
Commit
f8613a14
authored
Jul 01, 2024
by
苍蓝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
20bcf95c
Pipeline
#28080
failed with stages
in 1 minute and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
453 deletions
+3
-453
.gitlab-ci.yml
.gitlab-ci.yml
+3
-453
No files found.
.gitlab-ci.yml
View file @
f8613a14
stages
:
-
prepare
-
build
#
- combine
#
- pack
#
- deploy
-
combine
-
pack
-
deploy
variables
:
GIT_DEPTH
:
"
1"
...
...
@@ -149,453 +149,3 @@ exec_windows:
artifacts
:
paths
:
-
ygopro.exe
artifacts
:
paths
:
-
ygopro.app
#exec_macos_sign:
# stage: sign
# tags:
# - macos
# dependencies:
# - exec_macos
# script: ./.ci/sign-macos.sh
# artifacts:
# paths:
# - ygopro.app
# only:
# - tags
# - master
assets
:
stage
:
prepare
tags
:
-
linux
script
:
-
apt update; apt -y install tar wget git
# starter pack
-
wget -O - https://code.mycard.moe/mycard/ygopro-starter-pack/-/archive/master/ygopro-starter-pack-master.tar.gz | tar zfx -
-
mv ygopro-starter-pack-master/* .
# sound
-
wget -O - https://code.mycard.moe/mycard/ygopro-sounds/-/archive/master/ygopro-sounds-master.tar.gz | tar zfx -
-
mv ygopro-sounds-master/sound/* sound
# fonts
-
mkdir fonts
-
cd fonts
-
wget -O - https://cdn01.moecube.com/ygopro-fonts.tar.gz | tar zfx -
-
cd ..
# pack
-
git clone --depth=1 https://code.mycard.moe/mycard/ygopro-card-list
-
mv ygopro-card-list/pack .
# locales
-
git clone --depth=1 https://code.mycard.moe/nanahira/ygopro-database
-
mv ygopro-database/locales .
artifacts
:
paths
:
-
deck
-
single
-
sound
-
fonts
-
pack
-
locales
only
:
-
tags
-
master
assets_nonwindows
:
stage
:
prepare
tags
:
-
linux
script
:
-
apt update; apt -y install tar wget
-
wget -O - https://cdn01.moecube.com/windbot/windbot.tar.gz | tar zfx -
artifacts
:
paths
:
-
bot.conf
-
windbot
-
bot
only
:
-
tags
-
master
assets_windows
:
stage
:
prepare
tags
:
-
linux
script
:
-
wget https://cdn01.moecube.com/windbot/WindBot.7z
-
7z x -y WindBot.7z
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync s3://mycard/koishipro/contents/update-koishipro/ ./update-koishipro
-
rm -rf update-koishipro/.git ||
true
artifacts
:
paths
:
-
bot.conf
-
WindBot
-
Bot.exe
-
update-koishipro
only
:
-
tags
-
master
._locale_zh-CN
:
variables
:
TARGET_LOCALE
:
zh-CN
._locale_en-US
:
variables
:
TARGET_LOCALE
:
en-US
._assets_locale
:
stage
:
build
tags
:
-
linux
script
:
./.ci/assets-locale.sh
artifacts
:
paths
:
-
pics
-
cards.cdb
-
strings.conf
-
bot.conf
only
:
-
tags
-
master
assets_zh-CN
:
extends
:
-
._assets_locale
-
._locale_zh-CN
assets_en-US
:
extends
:
-
._assets_locale
-
._locale_en-US
._pack
:
stage
:
pack
tags
:
-
linux
artifacts
:
paths
:
-
dist
only
:
-
tags
-
master
._pack_format_gz
:
extends
:
._pack
variables
:
ARCHIVE_SUFFIX
:
gz
._pack_format_zst
:
extends
:
._pack
variables
:
ARCHIVE_SUFFIX
:
zst
._pack_dlc
:
extends
:
._pack_format_zst
only
:
-
tags
._pack_script_windows_non7z
:
extends
:
._pack
script
:
./.ci/pack-windows.sh
._pack_script_windows_7z
:
extends
:
._pack
script
:
./.ci/pack-windows-7z.sh
._pack_script_linux
:
extends
:
._pack
script
:
./.ci/pack-linux.sh
._pack_script_macos
:
extends
:
._pack
script
:
./.ci/pack-macos.sh
._pack_script_windows_dlc
:
extends
:
._pack_dlc
script
:
./.ci/pack-windows-dlc.sh
._pack_script_linux_dlc
:
extends
:
._pack_dlc
script
:
./.ci/pack-linux-dlc.sh
._pack_script_macos_dlc
:
extends
:
._pack_dlc
script
:
./.ci/pack-macos-dlc.sh
._pack_assets_windows_zh-CN
:
extends
:
._pack
dependencies
:
-
assets
-
assets_windows
-
exec_windows
-
assets_zh-CN
-
mat_submodules
._pack_assets_linux_zh-CN
:
extends
:
._pack
dependencies
:
-
assets
-
assets_nonwindows
-
exec_linux
-
assets_zh-CN
-
mat_submodules
._pack_assets_macos_zh-CN
:
extends
:
._pack
dependencies
:
-
assets
-
assets_nonwindows
-
exec_macos
-
assets_zh-CN
-
mat_submodules
._pack_assets_windows_en-US
:
extends
:
._pack
dependencies
:
-
assets
-
assets_windows
-
exec_windows
-
assets_en-US
-
mat_submodules
._pack_assets_linux_en-US
:
extends
:
._pack
dependencies
:
-
assets
-
assets_nonwindows
-
exec_linux
-
assets_en-US
-
mat_submodules
._pack_assets_macos_en-US
:
extends
:
._pack
dependencies
:
-
assets
-
assets_nonwindows
-
exec_macos
-
assets_en-US
-
mat_submodules
._pack_assets_windows_dlc
:
extends
:
._pack
dependencies
:
-
assets
-
exec_windows
-
mat_submodules
._pack_assets_linux_dlc
:
extends
:
._pack
dependencies
:
-
assets
-
exec_linux
-
mat_submodules
._pack_assets_macos_dlc
:
extends
:
._pack
dependencies
:
-
assets
-
exec_macos
-
mat_submodules
pack_windows_dlc_zh-CN
:
extends
:
-
._pack_assets_windows_dlc
-
._pack_script_windows_dlc
-
._locale_zh-CN
pack_linux_dlc_zh-CN
:
extends
:
-
._pack_assets_linux_dlc
-
._pack_script_linux_dlc
-
._locale_zh-CN
pack_macos_dlc_zh-CN
:
extends
:
-
._pack_assets_macos_dlc
-
._pack_script_macos_dlc
-
._locale_zh-CN
pack_windows_dlc_en-US
:
extends
:
-
._pack_assets_windows_dlc
-
._pack_script_windows_dlc
-
._locale_en-US
pack_linux_dlc_en-US
:
extends
:
-
._pack_assets_linux_dlc
-
._pack_script_linux_dlc
-
._locale_en-US
pack_macos_dlc_en-US
:
extends
:
-
._pack_assets_macos_dlc
-
._pack_script_macos_dlc
-
._locale_en-US
pack_windows_zh-CN_7z
:
extends
:
-
._pack_assets_windows_zh-CN
-
._pack_script_windows_7z
-
._locale_zh-CN
#pack_windows_zh-CN_gz:
# extends:
# - ._pack_assets_windows_zh-CN
# - ._pack_script_windows_non7z
# - ._pack_format_gz
# - ._locale_zh-CN
#pack_windows_zh-CN_zst:
# extends:
# - ._pack_assets_windows_zh-CN
# - ._pack_script_windows_non7z
# - ._pack_format_zst
# - ._locale_zh-CN
pack_linux_zh-CN_gz
:
extends
:
-
._pack_assets_linux_zh-CN
-
._pack_script_linux
-
._pack_format_gz
-
._locale_zh-CN
#pack_linux_zh-CN_zst:
# extends:
# - ._pack_assets_linux_zh-CN
# - ._pack_script_linux
# - ._pack_format_zst
# - ._locale_zh-CN
pack_macos_zh-CN_gz
:
extends
:
-
._pack_assets_macos_zh-CN
-
._pack_script_macos
-
._pack_format_gz
-
._locale_zh-CN
#pack_macos_zh-CN_zst:
# extends:
# - ._pack_assets_macos_zh-CN
# - ._pack_script_macos
# - ._pack_format_zst
# - ._locale_zh-CN
pack_windows_en-US_7z
:
extends
:
-
._pack_assets_windows_en-US
-
._pack_script_windows_7z
-
._locale_en-US
#pack_windows_en-US_gz:
# extends:
# - ._pack_assets_windows_en-US
# - ._pack_script_windows_non7z
# - ._pack_format_gz
# - ._locale_en-US
#pack_windows_en-US_zst:
# extends:
# - ._pack_assets_windows_en-US
# - ._pack_script_windows_non7z
# - ._pack_format_zst
# - ._locale_en-US
pack_linux_en-US_gz
:
extends
:
-
._pack_assets_linux_en-US
-
._pack_script_linux
-
._pack_format_gz
-
._locale_en-US
#pack_linux_en-US_zst:
# extends:
# - ._pack_assets_linux_en-US
# - ._pack_script_linux
# - ._pack_format_zst
# - ._locale_en-US
pack_macos_en-US_gz
:
extends
:
-
._pack_assets_macos_en-US
-
._pack_script_macos
-
._pack_format_gz
-
._locale_en-US
#pack_macos_en-US_zst:
# extends:
# - ._pack_assets_macos_en-US
# - ._pack_script_macos
# - ._pack_format_zst
# - ._locale_en-US
upload_contents
:
stage
:
deploy
dependencies
:
-
pack_windows_zh-CN_7z
tags
:
-
linux
script
:
-
7z x -y -ocontents dist/KoishiPro-$CI_COMMIT_REF_NAME-win32-zh-CN.7z
-
cd contents/update-koishipro
-
chmod +x *.sh
-
mono update.exe -ci
-
sed -i "/git/d" filelist.txt
-
cd ../..
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete contents/ s3://mycard/koishipro/contents/
only
:
-
master
upload_to_minio
:
stage
:
deploy
dependencies
:
-
pack_windows_zh-CN_7z
#- pack_windows_zh-CN_gz
#- pack_windows_zh-CN_zst
-
pack_linux_zh-CN_gz
#- pack_linux_zh-CN_zst
-
pack_macos_zh-CN_gz
#- pack_macos_zh-CN_zst
-
pack_windows_en-US_7z
#- pack_windows_en-US_gz
#- pack_windows_en-US_zst
-
pack_linux_en-US_gz
#- pack_linux_en-US_zst
-
pack_macos_en-US_gz
#- pack_macos_en-US_zst
-
pack_windows_dlc_zh-CN
-
pack_linux_dlc_zh-CN
-
pack_macos_dlc_zh-CN
-
pack_windows_dlc_en-US
-
pack_linux_dlc_en-US
-
pack_macos_dlc_en-US
tags
:
-
linux
script
:
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/koishipro/archive
only
:
-
tags
-
master
upload_mycard
:
stage
:
deploy
dependencies
:
-
pack_windows_dlc_zh-CN
-
pack_linux_dlc_zh-CN
-
pack_macos_dlc_zh-CN
-
pack_windows_dlc_en-US
-
pack_linux_dlc_en-US
-
pack_macos_dlc_en-US
tags
:
-
linux
variables
:
appVersion
:
$CI_COMMIT_TAG
script
:
./.ci/upload-packager.sh
only
:
-
tags
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