File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,15 @@ jobs:
237237 with :
238238 config_hash : ${{ needs.check_source.outputs.config_hash }}
239239
240+ build_macos_free_threaded :
241+ name : ' macOS'
242+ needs : check_source
243+ if : needs.check_source.outputs.run_tests == 'true' && contains(github.event.pull_request.labels.*.name, 'topic-free-threaded')
244+ uses : ./.github/workflows/reusable-build-macos.yml
245+ with :
246+ config_hash : ${{ needs.check_source.outputs.config_hash }}
247+ free-threaded : true
248+
240249 build_ubuntu :
241250 name : ' Ubuntu'
242251 runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change 44 config_hash :
55 required : true
66 type : string
7+ free-threaded :
8+ required : false
9+ type : boolean
10+ default : false
711
812jobs :
913 build_macos :
14+ name : ${{ inputs.free-threaded && 'free-threaded' || 'default' }}
1015 runs-on : macos-latest
1116 timeout-minutes : 60
1217 env :
3035 ./configure \
3136 --config-cache \
3237 --with-pydebug \
38+ ${{ inputs.free-threaded && '--disable-gil' || '' }} \
3339 --prefix=/opt/python-dev \
3440 --with-openssl="$(brew --prefix openssl@3.0)"
3541 - name : Build CPython
You can’t perform that action at this time.
0 commit comments