Commit 9ed7bca0 authored by 神楽坂玲奈's avatar 神楽坂玲奈

ci

ci

ci

revert ci

ci

ci

ci

ci

ci

ci

ci

ci
parent 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
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment