Skip to content

Commit

Permalink
.github/workflows/build_wheels.yml: added PYMUPDF_SETUP_Py_LIMITED_AP…
Browse files Browse the repository at this point in the history
…I input.

Also disabled PYMUPDF_SETUP_MUPDF_BUILD_TYPE to stay within Github's 10-input
limit.
  • Loading branch information
julian-smith-artifex-com committed Sep 17, 2024
1 parent ebe5589 commit 06402fe
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ on:
type: boolean
default: true

#wheels_macos_arm64:
# type: boolean
# default: true

wheels_macos_auto:
type: boolean
default: true
Expand All @@ -46,11 +42,16 @@ on:
type: string
default: '-'

PYMUPDF_SETUP_MUPDF_BUILD_TYPE:
description: 'Value for PYMUPDF_SETUP_MUPDF_BUILD, e.g. debug.'
type: string
default: '-'
#PYMUPDF_SETUP_MUPDF_BUILD_TYPE:
# description: 'Value for PYMUPDF_SETUP_MUPDF_BUILD, e.g. debug.'
# type: string
# default: '-'
# We can't currently have more than 10 inputs

PYMUPDF_SETUP_Py_LIMITED_API:
description: 'If not "", is used to build single wheel for each OS.'
type: string
default: ''

jobs:

Expand Down Expand Up @@ -142,9 +143,12 @@ jobs:
inputs_wheels_windows_auto: ${{inputs.wheels_windows_auto}}

inputs_PYMUPDF_SETUP_MUPDF_BUILD: ${{inputs.PYMUPDF_SETUP_MUPDF_BUILD}}
inputs_PYMUPDF_SETUP_MUPDF_BUILD_TYPE: ${{inputs.PYMUPDF_SETUP_MUPDF_BUILD_TYPE}}
#inputs_PYMUPDF_SETUP_MUPDF_BUILD_TYPE: ${{inputs.PYMUPDF_SETUP_MUPDF_BUILD_TYPE}}

inputs_wheels_cps: ${{inputs.wheels_cps}}

PYMUPDF_SETUP_Py_LIMITED_API: ${{inputs.PYMUPDF_SETUP_Py_LIMITED_API}}

run:
python scripts/gh_release.py

Expand Down

0 comments on commit 06402fe

Please sign in to comment.