Skip to content
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
22 changes: 1 addition & 21 deletions .github/workflows/build-numpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,26 +98,9 @@ jobs:
path: ./wheelhouse/*.whl
if-no-files-found: error

gpl_sources:
name: Collect GPL sources (gcc) for numpy ${{ inputs.version || '2.5.1' }}
runs-on: ubuntu-24.04-riscv
steps:
- name: Collect gcc source RPM from manylinux_riscv64
uses: riseproject-dev/python-wheels/actions/collect-gpl-sources@main
with:
image: ${{ env.MANYLINUX_RISCV64_IMAGE }}
packages: gcc
output: gpl-sources.tar

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: numpy-${{ env.NUMPY_VERSION }}-gpl-sources
path: gpl-sources.tar
if-no-files-found: error

publish:
name: Publish numpy ${{ inputs.version || '2.5.1' }} to GitLab
needs: [build_wheels, gpl_sources]
needs: [build_wheels]
# Only publish when the workflow was triggered from main with a specific
# version. Manual trigger is the only entry point, so checking the ref is
# enough to gate uploads.
Expand All @@ -136,6 +119,3 @@ jobs:
gitlab-token: ${{ secrets.GITLAB_DEPLOY_TOKEN }}
gitlab-project-id: ${{ vars.GITLAB_PROJECT_ID }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
gpl-sources-artifact: numpy-${{ env.NUMPY_VERSION }}-gpl-sources
gpl-sources-release-tag: numpy-v${{ env.NUMPY_VERSION }}
gpl-sources-description: gcc
Loading