diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a4d1424..6fbf0168 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,19 @@ name: build-dist -on: [workflow_dispatch, workflow_call] +on: + workflow_dispatch: + inputs: + cibw_skip: + required: false + type: string + description: "wheels to skip building" + + workflow_call: + inputs: + cibw_skip: + required: false + type: string + description: "wheels to skip building" jobs: @@ -12,7 +25,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] env: - CIBW_SKIP: pp* cp312-* ${{ github.event.inputs.CIBW_SKIP }} + CIBW_SKIP: pp* *i686 ${{ github.event.inputs.cibw_skip }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8236e439..8701683e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ on: required: true type: boolean default: true + workflow_dispatch: inputs: release-pypi: @@ -15,6 +16,11 @@ on: type: boolean description: "if true a release is made on PyPI" + cibw_skip: + required: false + type: string + description: "wheels to skip building" + jobs: test: uses: ./.github/workflows/test.yml @@ -22,6 +28,8 @@ jobs: build: needs: test uses: ./.github/workflows/build.yml + with: + cibw_skip: ${{ github.event.inputs.cibw_skip }} docs: needs: test