File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -237,14 +237,14 @@ jobs:
237237 with :
238238 config_hash : ${{ needs.check_source.outputs.config_hash }}
239239
240- build_macos_nogil :
240+ build_macos_free_threaded :
241241 name : ' macOS'
242242 needs : check_source
243- if : needs.check_source.outputs.run_tests == 'true'
243+ if : needs.check_source.outputs.run_tests == 'true' && contains(github.event.pull_request.labels.*.name, 'topic-free-threaded')
244244 uses : ./.github/workflows/reusable-build-macos.yml
245245 with :
246246 config_hash : ${{ needs.check_source.outputs.config_hash }}
247- disable_gil : true
247+ free-threaded : true
248248
249249 build_ubuntu :
250250 name : ' Ubuntu'
Original file line number Diff line number Diff line change 44 config_hash :
55 required : true
66 type : string
7- disable_gil :
7+ free-threaded :
88 required : false
99 type : boolean
1010 default : false
1111
1212jobs :
1313 build_macos :
14+ name : ${{ inputs.free-threaded && 'free-threaded' || 'default' }}
1415 runs-on : macos-latest
1516 timeout-minutes : 60
1617 env :
@@ -27,19 +28,14 @@ jobs:
2728 key : ${{ github.job }}-${{ runner.os }}-${{ inputs.config_hash }}
2829 - name : Install Homebrew dependencies
2930 run : brew install pkg-config openssl@3.0 xz gdbm tcl-tk
30- - name : FIXME test
31- run : |
32- echo something here ... \
33- ${{ inputs.disable_gil && 'FIXME--disable-gil' }} \
34- ... \
35- something else
3631 - name : Configure CPython
3732 run : |
3833 GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
3934 GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
4035 ./configure \
4136 --config-cache \
4237 --with-pydebug \
38+ ${{ inputs.free-threaded && '--disable-gil' || '' }} \
4339 --prefix=/opt/python-dev \
4440 --with-openssl="$(brew --prefix openssl@3.0)"
4541 - name : Build CPython
You can’t perform that action at this time.
0 commit comments