mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-31 14:58:23 +00:00
fix: remove automated conda forge
This commit is contained in:
@@ -66,16 +66,6 @@ jobs:
|
|||||||
# - other => testing PyPi
|
# - other => testing PyPi
|
||||||
command: make deploy
|
command: make deploy
|
||||||
# =======================================================================================
|
# =======================================================================================
|
||||||
# Conda distribution.
|
|
||||||
# =======================================================================================
|
|
||||||
conda-forge-deploy:
|
|
||||||
docker:
|
|
||||||
- image: python:3
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: apt-get update && apt-get install -y git openssl hub
|
|
||||||
- run: make feedstock
|
|
||||||
# =======================================================================================
|
|
||||||
# Docker build.
|
# Docker build.
|
||||||
# =======================================================================================
|
# =======================================================================================
|
||||||
docker-conda-cpu:
|
docker-conda-cpu:
|
||||||
@@ -165,32 +155,24 @@ workflows:
|
|||||||
- master
|
- master
|
||||||
requires:
|
requires:
|
||||||
- sdist
|
- sdist
|
||||||
- conda-forge-deploy:
|
- conda-forge-validation:
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
requires:
|
|
||||||
- pypi-deploy
|
|
||||||
- hold:
|
|
||||||
type: approval
|
type: approval
|
||||||
requires:
|
requires:
|
||||||
- pypi-deploy
|
- pypi-deploy
|
||||||
- conda-forge-deploy
|
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- docker-conda-cpu:
|
- docker-conda-cpu:
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- conda-forge-validation
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- docker-conda-gpu:
|
- docker-conda-gpu:
|
||||||
requires:
|
requires:
|
||||||
- hold
|
- conda-forge-validation
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|||||||
14
Makefile
14
Makefile
@@ -21,20 +21,6 @@ build:
|
|||||||
test:
|
test:
|
||||||
pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv --forked
|
pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv --forked
|
||||||
|
|
||||||
feedstock: build
|
|
||||||
$(eval VERSION = $(shell grep 'project_version = ' setup.py | cut -d' ' -f3 | sed "s/'//g"))
|
|
||||||
$(eval CHECKSUM = $(shell openssl sha256 dist/spleeter-$(VERSION).tar.gz | cut -d' ' -f2))
|
|
||||||
git clone $(FEEDSTOCK_REPOSITORY)
|
|
||||||
sed 's/{% set version = "[0-9]*\.[0-9]*\.[0-9]*" %}/{% set version = "$(VERSION)" %}/g' $(FEEDSTOCK_RECIPE)
|
|
||||||
sed 's/sha256: [0-9a-z]*/sha: $(CHECKSUM)/g' $(FEEDSTOCK_RECIPE)
|
|
||||||
git config credential.helper 'cache --timeout=120'
|
|
||||||
git config user.email "research@deezer.com"
|
|
||||||
git config user.name "spleeter-ci"
|
|
||||||
git add recipe/spleeter/meta.yaml
|
|
||||||
git commit --allow-empty -m "feat: update spleeter version from CI"
|
|
||||||
git push -q https://$$FEEDSTOCK_TOKEN@github.com/deezer/$(FEEDSTOCK)
|
|
||||||
hub pull-request -m "Update spleeter version to $(VERSION)"
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
pip install twine
|
pip install twine
|
||||||
twine upload --skip-existing dist/*
|
twine upload --skip-existing dist/*
|
||||||
Reference in New Issue
Block a user