Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
4c500cf8
Commit
4c500cf8
authored
Sep 03, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.mycard.moe:mycard/ygopro-pre-data
parents
ee072422
502cdc64
Pipeline
#5205
passed with stages
in 25 seconds
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
0 deletions
+65
-0
.gitlab-ci.yml
.gitlab-ci.yml
+65
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
4c500cf8
stages
:
-
pack
-
deploy
variables
:
GIT_DEPTH
:
"
1"
redtext
:
stage
:
pack
dependencies
:
[]
tags
:
-
linux
image
:
git-registry.mycard.moe/nanahira/srvpro:lite
variables
:
DATABASE_FILE
:
expansions/pre-release.cdb
script
:
-
apt update && apt -y install sqlite3
-
mv script expansions/
-
mv /ygopro-server/ygopro .
-
mkdir dist
-
cd ygopro
-
mv ../expansions .
-
echo "# Result of redtext test of commit $CI_COMMIT_SHA"
-
echo "select id from datas where type != 0x10 and (type & 0x4000) = 0;" | sqlite3 $DATABASE_FILE | xargs -I {} ./ygopro {} 2>&1 | tee ../dist/redtext.txt
-
cd ..
-
exit $(cat dist/redtext.txt | wc -l)
pack
:
stage
:
pack
dependencies
:
[]
tags
:
-
linux
script
:
-
mv field pics/
-
mv pics expansions/
-
mv script expansions/
-
mkdir dist
-
cd expansions
-
7z a -mx9 ../dist/ygopro-pre.zip
-
cd ..
-
mv dist/ygopro-pre.zip dist/ygopro-pre.ypk
artifacts
:
paths
:
-
dist
deploy
:
stage
:
deploy
dependencies
:
-
pack
tags
:
-
linux
variables
:
username
:
$MYCARD_USERNAME
password
:
$MYCARD_PASSWORD
appVersion
:
$CI_COMMIT_TAG
script
:
-
apt update; apt -y install tar zstd curl jq
-
git clone https://code.mycard.moe/mycard/mycard-package-script
-
cd mycard-package-script
-
./index.sh makeBuild ygopro-pre ../dist ||
true
#- ./index.sh makeBuild ygopro-pre-koishi ../dist || true
-
./index.sh makeBuild ygopro-pre-pro2 ../dist ||
true
-
cd ..
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