Split package upload
This commit is contained in:
parent
0100d2c53f
commit
ff5d58b281
|
@ -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"
|
|
@ -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"
|
|
@ -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"
|
Loading…
Reference in New Issue