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
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
ygopro
Commits
184c8798
Commit
184c8798
authored
May 06, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update ci
parent
803107bc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
10 deletions
+42
-10
.ci/assets-locale.sh
.ci/assets-locale.sh
+6
-3
.ci/libevent-prebuild.sh
.ci/libevent-prebuild.sh
+1
-1
.ci/prepare-irrlicht.sh
.ci/prepare-irrlicht.sh
+25
-0
.ci/upload-packager.sh
.ci/upload-packager.sh
+10
-6
No files found.
.ci/assets-locale.sh
View file @
184c8798
...
...
@@ -3,9 +3,12 @@ set -x
set
-o
errexit
# ygopro-database
apt update
&&
apt
-y
install
wget git libarchive-tools
git clone
--depth
=
1 https://code.m
ycard.moe
/mycard/ygopro-database
git clone
--depth
=
1 https://code.m
oenext.com
/mycard/ygopro-database
cp
-rf
./ygopro-database/locales/
$TARGET_LOCALE
/
*
.
# ygopro-images
mkdir
pics
# skip it in develop branch
# wget -O - https://cdn01.moecube.com/images/ygopro-images-${TARGET_LOCALE}.zip | bsdtar -C pics -xf -
if
[[
"
$CI_COMMIT_REF_NAME
"
==
*
"develop"
*
||
"
$CI_COMMIT_REF_NAME
"
==
*
".pre"
*
]]
;
then
echo
"This is a pre-release, skipping download."
else
wget
-O
- https://cdn02.moecube.com:444/images/ygopro-images-
${
TARGET_LOCALE
}
.zip | bsdtar
-C
pics
-xf
-
fi
.ci/libevent-prebuild.sh
View file @
184c8798
...
...
@@ -3,7 +3,7 @@ set -x
set
-o
errexit
# PROCESSOR_COUNT=4
wget
-O
- https://cdn0
1.moecube.com
/ygopro-build-materials/libevent-2.0.22-stable.tar.gz |
tar
zfx -
wget
-O
- https://cdn0
2.moecube.com:444
/ygopro-build-materials/libevent-2.0.22-stable.tar.gz |
tar
zfx -
cd
libevent-2.0.22-stable
./configure
--prefix
=
$PWD
/libevent-stable
--disable-openssl
--enable-static
=
yes
--enable-shared
=
no
make
-j
$PROCESSOR_COUNT
...
...
.ci/prepare-irrlicht.sh
0 → 100755
View file @
184c8798
#!/bin/bash
set
-x
set
-o
errexit
IRRLICHT_REPO_URL
=
"https://code.moenext.com/mycard/irrlicht-new.git"
IRRLICHT_BRANCH_NAME
=
"master"
# if $CI_COMMIT_REF_NAME includes develop or pre, then we use the develop branch
if
[[
"
$CI_COMMIT_REF_NAME
"
==
*
"develop"
*
]]
;
then
IRRLICHT_BRANCH_NAME
=
"develop"
fi
if
[[
"
$CI_COMMIT_REF_NAME
"
==
*
"-pre"
*
]]
;
then
IRRLICHT_BRANCH_NAME
=
"develop"
fi
if
[
!
-d
"irrlicht"
]
;
then
git clone
--depth
=
1
--branch
"
$IRRLICHT_BRANCH_NAME
"
"
$IRRLICHT_REPO_URL
"
irrlicht
else
cd
irrlicht
git fetch origin
"
$IRRLICHT_BRANCH_NAME
"
git checkout
"
$IRRLICHT_BRANCH_NAME
"
git reset
--hard
origin/
"
$IRRLICHT_BRANCH_NAME
"
cd
..
fi
.ci/upload-packager.sh
View file @
184c8798
...
...
@@ -33,9 +33,13 @@ runForDepot() {
echo
"
$result
"
| jq
.
}
runForDepot win32 zh-CN
runForDepot linux zh-CN
runForDepot darwin zh-CN
runForDepot win32 en-US
runForDepot linux en-US
runForDepot darwin en-US
if
[[
"
$CI_COMMIT_TAG
"
==
*
".pre"
*
]]
;
then
echo
"This is a pre-release, skipping upload."
else
runForDepot win32 zh-CN
runForDepot linux zh-CN
runForDepot darwin zh-CN
runForDepot win32 en-US
runForDepot linux en-US
runForDepot darwin en-US
fi
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