Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more platform and python version for lib #15

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion .circleci/release-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,29 @@ jobs:

python3 -m twine upload -r pypi -u __token__ -p ${PYPI_TWINE_TOKEN} dist/*.whl

linux_aarch64_publish:
docker:
- image: secretflow/release-ci-aarch64:latest
resource_class: arm.2xlarge
parameters:
python_ver:
type: string
shell: /bin/bash --login -eo pipefail
steps:
- checkout
- run:
name: "build package and publish"
command: |
conda create -n build python=<< parameters.python_ver >> -y
conda activate build

sh ./build_wheel_entrypoint.sh
python3 -m pip install twine
ls dist/*.whl

# python3 -m twine upload -r pypi -u __token__ -p ${PYPI_TWINE_TOKEN} dist/*.whl


# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
Expand All @@ -60,7 +83,15 @@ workflows:
- linux_x64_publish:
matrix:
parameters:
python_ver: ["3.8"]
python_ver: ["3.8", "3.9", "3.10", "3.11"]
# This is mandatory to trigger a pipeline when pushing a tag
filters:
tags:
only: /.*/
- linux_aarch64_publish:
matrix:
parameters:
python_ver: ["3.9", "3.10", "3.11"]
# This is mandatory to trigger a pipeline when pushing a tag
filters:
tags:
Expand Down
Loading