Merge pull request #1777 from lissyx/multi-upload

Split package upload
This commit is contained in:
lissyx 2018-12-11 08:02:48 -05:00 committed by GitHub
commit 653ba5d7be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 60 additions and 4 deletions

View File

@ -2,7 +2,7 @@ build:
template_file: simple-task.tyml template_file: simple-task.tyml
dependencies: dependencies:
# Make sure builds are ready # Make sure builds are ready
# - "linux-arm64-cpu-opt" Aarch64 packages are refused by upload.pypi.org - "linux-arm64-cpu-opt"
- "darwin-amd64-cpu-opt" - "darwin-amd64-cpu-opt"
- "linux-amd64-cpu-opt" - "linux-amd64-cpu-opt"
- "linux-amd64-gpu-opt" - "linux-amd64-gpu-opt"
@ -14,13 +14,15 @@ build:
routes: routes:
- "notify.irc-channel.${notifications.irc}.on-exception" - "notify.irc-channel.${notifications.irc}.on-exception"
- "notify.irc-channel.${notifications.irc}.on-failed" - "notify.irc-channel.${notifications.irc}.on-failed"
upload_targets:
- "github"
artifacts_deps: artifacts_deps:
python: python:
- "darwin-amd64-cpu-opt" - "darwin-amd64-cpu-opt"
- "linux-amd64-cpu-opt" - "linux-amd64-cpu-opt"
- "linux-amd64-gpu-opt" - "linux-amd64-gpu-opt"
- "linux-rpi3-cpu-opt" - "linux-rpi3-cpu-opt"
# - "linux-arm64-cpu-opt" Aarch64 packages are refused by upload.pypi.org - "linux-arm64-cpu-opt"
javascript: javascript:
# GPU package # GPU package
- "linux-amd64-gpu-opt" - "linux-amd64-gpu-opt"
@ -33,5 +35,5 @@ build:
- "linux-rpi3-cpu-opt" - "linux-rpi3-cpu-opt"
- "linux-arm64-cpu-opt" - "linux-arm64-cpu-opt"
metadata: metadata:
name: "DeepSpeech Packages" name: "DeepSpeech GitHub Packages"
description: "Trigger Uploading of DeepSpeech Packages to the Internets" description: "Trigger Uploading of DeepSpeech Packages to GitHub release page"

View File

@ -0,0 +1,25 @@
build:
template_file: simple-task.tyml
dependencies:
# Make sure builds are ready
- "linux-amd64-gpu-opt"
- "node-package"
allowed:
- "tag"
ref_match: "refs/tags/"
routes:
- "notify.irc-channel.${notifications.irc}.on-exception"
- "notify.irc-channel.${notifications.irc}.on-failed"
upload_targets:
- "npm"
artifacts_deps:
python: []
cpp: []
javascript:
# GPU package
- "linux-amd64-gpu-opt"
# CPU package with all archs
- "node-package"
metadata:
name: "DeepSpeech NPM Packages"
description: "Trigger Uploading of DeepSpeech Packages to NPM registry"

View File

@ -0,0 +1,29 @@
build:
template_file: simple-task.tyml
dependencies:
# Make sure builds are ready
# - "linux-arm64-cpu-opt" Aarch64 packages are refused by upload.pypi.org
- "darwin-amd64-cpu-opt"
- "linux-amd64-cpu-opt"
- "linux-amd64-gpu-opt"
- "linux-rpi3-cpu-opt"
allowed:
- "tag"
ref_match: "refs/tags/"
routes:
- "notify.irc-channel.${notifications.irc}.on-exception"
- "notify.irc-channel.${notifications.irc}.on-failed"
upload_targets:
- "pypi"
artifacts_deps:
javascript: []
cpp: []
python:
- "darwin-amd64-cpu-opt"
- "linux-amd64-cpu-opt"
- "linux-amd64-gpu-opt"
- "linux-rpi3-cpu-opt"
# - "linux-arm64-cpu-opt" Aarch64 packages are refused by upload.pypi.org
metadata:
name: "DeepSpeech PyPi Packages"
description: "Trigger Uploading of DeepSpeech Packages to PyPi"