Commit 6ab5029d authored by nanahira's avatar nanahira

test macOS m1 build

parent 6b71d41a
#!/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
...@@ -69,9 +69,7 @@ macOS: ...@@ -69,9 +69,7 @@ macOS:
APPLE_ID_PASSWORD: $MACOS_NOTARIZE_PASSWORD APPLE_ID_PASSWORD: $MACOS_NOTARIZE_PASSWORD
TEAM_SHORT_NAME: $MACOS_ASC_PROVIDER TEAM_SHORT_NAME: $MACOS_ASC_PROVIDER
script: script:
- npm ci - ./.ci/macos-build.sh
- npm run build
- npm run dist
- ls - ls
artifacts: artifacts:
paths: paths:
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"watch": "ng build --localize --base-href .. --watch --configuration development", "watch": "ng build --localize --base-href .. --watch --configuration development",
"pack": "electron-builder --dir", "pack": "electron-builder --dir",
"dist": "electron-builder", "dist": "electron-builder",
"dist:mac": "electron-builder --universal",
"i18n:extract": "ng extract-i18n", "i18n:extract": "ng extract-i18n",
"i18n:upload": "tx push --source", "i18n:upload": "tx push --source",
"i18n:translate": "open https://www.transifex.com/mycard/mycard/translate/#en_US/messages-xlf?q=translated%3Ano", "i18n:translate": "open https://www.transifex.com/mycard/mycard/translate/#en_US/messages-xlf?q=translated%3Ano",
......
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