Split package upload

This commit is contained in:
Alexandre Lissy 2018-12-11 13:34:57 +01:00
parent 0100d2c53f
commit ff5d58b281
3 changed files with 60 additions and 4 deletions

View File

@ -2,7 +2,7 @@ build:
template_file: simple-task.tyml
dependencies:
# 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"
- "linux-amd64-cpu-opt"
- "linux-amd64-gpu-opt"
@ -14,13 +14,15 @@ build:
routes:
- "notify.irc-channel.${notifications.irc}.on-exception"
- "notify.irc-channel.${notifications.irc}.on-failed"
upload_targets:
- "github"
artifacts_deps:
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
- "linux-arm64-cpu-opt"
javascript:
# GPU package
- "linux-amd64-gpu-opt"
@ -33,5 +35,5 @@ build:
- "linux-rpi3-cpu-opt"
- "linux-arm64-cpu-opt"
metadata:
name: "DeepSpeech Packages"
description: "Trigger Uploading of DeepSpeech Packages to the Internets"
name: "DeepSpeech GitHub Packages"
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"