| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -237,6 +237,15 @@ jobs: | |||
| 237 | 237 | with: | |
| 238 | 238 | config_hash: ${{ needs.check_source.outputs.config_hash }} | |
| 239 | 239 | ||
| 240 | + build_macos_free_threaded: | ||
| 241 | + name: 'macOS (free-threaded)' | ||
| 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 | + | ||
| 240 | 249 | build_ubuntu: | |
| 241 | 250 | name: 'Ubuntu' | |
| 242 | 251 | runs-on: ubuntu-20.04 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,6 +4,10 @@ on: | |||
| 4 | 4 | config_hash: | |
| 5 | 5 | required: true | |
| 6 | 6 | type: string | |
| 7 | + free-threaded: | ||
| 8 | + required: false | ||
| 9 | + type: boolean | ||
| 10 | + default: false | ||
| 7 | 11 | ||
| 8 | 12 | jobs: | |
| 9 | 13 | build_macos: | |
@@ -30,6 +34,7 @@ jobs: | |||
| 30 | 34 | ./configure \ | |
| 31 | 35 | --config-cache \ | |
| 32 | 36 | --with-pydebug \ | |
| 37 | + ${{ inputs.free-threaded && '--disable-gil' || '' }} \ | ||
| 33 | 38 | --prefix=/opt/python-dev \ | |
| 34 | 39 | --with-openssl="$(brew --prefix openssl@3.0)" | |
| 35 | 40 | - name: Build CPython | |
| Back | FazBrowse Home | New Git URL |
0 commit comments