File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 description : " CPython git tag to build (e.g. v3.12.13, v3.15.0a7)"
88 required : true
99 type : string
10- freethreaded :
11- description : " Also build a --disable-gil variant (3.13+)"
12- required : false
13- default : false
14- type : boolean
1510
1611permissions :
1712 contents : write
8176 echo "archive_base=python-${normalised}-linux-24.04-riscv64" >> "$GITHUB_OUTPUT"
8277 echo "Normalised version: ${normalised}"
8378 echo "Python X.Y: ${minor}"
84- if [ "${{ inputs.freethreaded }}" = "true" ] && [ "${minor_num}" -lt 13 ]; then
85- echo "ERROR: freethreaded build requires CPython 3.13+" >&2
86- exit 1
79+ if [ "${minor_num}" -ge 13 ]; then
80+ echo "freethreaded=true" >> "$GITHUB_OUTPUT"
8781 fi
8882
8983 - name : Checkout CPython
@@ -122,7 +116,7 @@ jobs:
122116 rm -rf "${{ steps.vars.outputs.archive_base }}" staging-std
123117
124118 - name : Build free-threaded CPython
125- if : ${{ inputs. freethreaded == true }}
119+ if : ${{ steps.vars.outputs. freethreaded }}
126120 run : |
127121 pushd src
128122 git clean -fdx
You can’t perform that action at this time.
0 commit comments