I just want to let circleci compile Linux aarch64 part for me (others are compiled in github actions).
And I only want to trigger it, when I create a new release. However, it is trigger every time I push a commit.
version: 2.1
jobs:
linux-aarch64-wheels:
working_directory: ~/linux-aarch64-wheels
machine:
image: ubuntu-2004:2022.04.1
resource_class: arm.medium
steps:
- checkout
- run:
name: Build the Linux aarch64 wheels.
command: |
git submodule init
git submodule update --remote
python3 -m pip install --user cibuildwheel twine
python3 -m cibuildwheel --output-dir wheelhouse
twine upload -r testpypi wheelhouse/*
- store_artifacts:
path: wheelhouse/
workflows:
version: 2
build-wheel:
jobs:
- linux-aarch64-wheels