Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro2
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
Xu Chenxi
ygopro2
Commits
3f6fbab8
Commit
3f6fbab8
authored
Apr 11, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update ci
parent
fdf1c64c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
7 deletions
+18
-7
.gitlab-ci.bat
.gitlab-ci.bat
+2
-4
.gitlab-ci.yml
.gitlab-ci.yml
+16
-3
No files found.
.gitlab-ci.bat
View file @
3f6fbab8
...
...
@@ -3,7 +3,7 @@
set
UNITY_PATH
=
"C:\Program Files\Unity\Editor\Unity.exe"
mkdir
output
mkdir
dist
mkdir
KoishiPro2
-src
%UNITY_PATH%
-batchmode -nographics -silent-crashes -projectPath
%cd%
-logFile
dist
/build
.log
-executeMethod
BuildHelper
.Build
-quit
if
%errorlevel%
neq
0
exit
/b
%errorlevel%
cat
dist
/build
.log
...
...
@@ -11,7 +11,5 @@ cat dist/build.log
bash
-c
"sed -i '/>UIStatusBarStyle</i\ <key>UIFileSharingEnabled</key>\n <true />\n <key>LSSupportsOpeningDocumentsInPlace</key>\n <true />' output/Info.plist"
cd
output
7
z
a
-mx
9
../
dist
/KoishiPro2
-src
.7z
*
7
z
a
-mx
9
../
KoishiPro2
-src
/KoishiPro
2
-src
.7z
*
cd
..
aws
s3
-
-endpoint
=
https
://minio.mycard.moe:9000
sync
dist
s3
://mycard/koishipro2
.gitlab-ci.yml
View file @
3f6fbab8
stages
:
-
build
-
deploy
variables
:
GIT_DEPTH
:
"
1"
...
...
@@ -9,14 +10,26 @@ cache:
-
Library/
-
Temp/
ios
:
unity
:
stage
:
build
script
:
cmd /C .gitlab-ci.bat
artifacts
:
paths
:
-
dist/
-
KoishiPro2-src/
only
:
-
Android
tags
:
-
unity
upload_to_minio
:
stage
:
deploy
dependencies
:
-
unity
tags
:
-
linux
image
:
python
script
:
-
pip install -U awscli
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync --delete KoishiPro2-src s3://mycard/koishipro2
only
:
-
Android
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