Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
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
syntax_j
mycard
Commits
9ed7bca0
Commit
9ed7bca0
authored
Sep 14, 2021
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci
ci ci revert ci ci ci ci ci ci ci ci ci
parent
6ab5029d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
20 deletions
+16
-20
.ci/macos-build.sh
.ci/macos-build.sh
+0
-11
.gitlab-ci.yml
.gitlab-ci.yml
+16
-9
No files found.
.ci/macos-build.sh
deleted
100755 → 0
View file @
6ab5029d
#!/bin/bash
set
-x
set
-o
errexit
if
[[
-z
"
$CI_COMMIT_TAG
"
]]
;
then
export
TRAVIS_BRANCH
=
"_no_notarize"
fi
npm ci
npm run build
npm run dist:mac
.gitlab-ci.yml
View file @
9ed7bca0
...
...
@@ -27,6 +27,7 @@ windows_bin:
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/mycard-mat/mycard-mat-windows.tar.gz | tar zxf -
windows
:
# image: stefanscherer/node-windows:12-build-tools
stage
:
build
dependencies
:
-
windows_bin
...
...
@@ -53,11 +54,11 @@ linux:
-
npm ci
-
npm run build
-
npm run dist
-
ls
-
ls
dist
artifacts
:
paths
:
-
dist/
mycard-*
-
dist/
mycard_*
-
dist/
latest-linux.yml
-
dist/
*.AppImage
macOS
:
stage
:
build
tags
:
...
...
@@ -69,14 +70,18 @@ macOS:
APPLE_ID_PASSWORD
:
$MACOS_NOTARIZE_PASSWORD
TEAM_SHORT_NAME
:
$MACOS_ASC_PROVIDER
script
:
-
./.ci/macos-build.sh
-
ls
-
'
[[
-z
"$CI_COMMIT_TAG"
]]
&&
export
TRAVIS_BRANCH="_no_notarize"'
-
npm ci
-
npm run build
-
npm run dist
artifacts
:
paths
:
-
dist/mycard-*
-
dist/mycard_*
-
dist/latest-mac.yml
-
dist/*.dmg
-
dist/*.blockmap
-
dist/*.zip
upload_to_minio
:
deploy
:
stage
:
deploy
dependencies
:
-
macOS
...
...
@@ -84,7 +89,9 @@ upload_to_minio:
-
linux
tags
:
-
linux
image
:
bitnami/aws-cli
image
:
name
:
amazon/aws-cli
entrypoint
:
[
"
"
]
script
:
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/mycard-ci-test
# only:
...
...
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