mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-06 04:32:43 +00:00
fix: remove automated conda forge
This commit is contained in:
@@ -66,16 +66,6 @@ jobs:
|
||||
# - other => testing PyPi
|
||||
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-conda-cpu:
|
||||
@@ -165,32 +155,24 @@ workflows:
|
||||
- master
|
||||
requires:
|
||||
- sdist
|
||||
- conda-forge-deploy:
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
requires:
|
||||
- pypi-deploy
|
||||
- hold:
|
||||
- conda-forge-validation:
|
||||
type: approval
|
||||
requires:
|
||||
- pypi-deploy
|
||||
- conda-forge-deploy
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- docker-conda-cpu:
|
||||
requires:
|
||||
- hold
|
||||
- conda-forge-validation
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- docker-conda-gpu:
|
||||
requires:
|
||||
- hold
|
||||
- conda-forge-validation
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
|
||||
14
Makefile
14
Makefile
@@ -21,20 +21,6 @@ build:
|
||||
test:
|
||||
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:
|
||||
pip install twine
|
||||
twine upload --skip-existing dist/*
|
||||
Reference in New Issue
Block a user