File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 SAN_LOG_OPTION : log_path=${{ github.workspace }}/san_log
5454 SUPPRESSIONS_SUFFIX : >-
5555 ${{
56- fromJSON( inputs.free-threading)
56+ inputs.free-threading
5757 && '_free_threading'
5858 || ''
5959 }}
9999 }}
100100 --with-pydebug
101101 ${{ inputs.sanitizer == 'TSan' && '--with-openssl="$OPENSSL_DIR" --with-openssl-rpath=auto' || '' }}
102- ${{ fromJSON( inputs.free-threading) && '--disable-gil' || '' }}
102+ ${{ inputs.free-threading && '--disable-gil' || '' }}
103103 - name : Build CPython
104104 run : make -j4
105105 - name : Display build info
@@ -112,7 +112,7 @@ jobs:
112112 - name : Parallel tests
113113 if : >-
114114 inputs.sanitizer == 'TSan'
115- && fromJSON( inputs.free-threading)
115+ && inputs.free-threading
116116 run : ./python -m test --tsan-parallel --parallel-threads=4 -j4 -W --timeout=600 --slowest
117117 - name : Display logs
118118 if : always()
@@ -123,7 +123,7 @@ jobs:
123123 with :
124124 name : >-
125125 ${{ inputs.sanitizer }}-logs-${{
126- fromJSON( inputs.free-threading)
126+ inputs.free-threading
127127 && 'free-threading'
128128 || 'default'
129129 }}
Original file line number Diff line number Diff line change 1414 type : boolean
1515 default : false
1616 os :
17- description : OS to run the job
18- required : true
19- type : string
17+ description : OS to run the job
18+ required : true
19+ type : string
2020 test-opts :
21- description : Extra options to pass to the test runner via TESTOPTS
22- required : false
23- type : string
24- default : ' '
21+ description : Extra options to pass to the test runner via TESTOPTS
22+ required : false
23+ type : string
24+ default : ' '
2525
2626permissions :
2727 contents : read
4747 - name : Install dependencies
4848 run : sudo ./.github/workflows/posix-deps-apt.sh
4949 - name : Install Clang and BOLT
50- if : ${{ fromJSON( inputs.bolt-optimizations) }}
50+ if : inputs.bolt-optimizations
5151 run : |
5252 # On ubuntu-26.04 image, LLVM is LLVM-21 by default
5353 sudo apt-get install --no-install-recommends bolt-21
@@ -88,10 +88,10 @@ jobs:
8888 --enable-slower-safety
8989 --enable-safety
9090 --with-openssl="$OPENSSL_DIR"
91- ${{ fromJSON( inputs.free-threading) && '--disable-gil' || '' }}
92- ${{ fromJSON( inputs.bolt-optimizations) && '--enable-bolt' || '' }}
91+ ${{ inputs.free-threading && '--disable-gil' || '' }}
92+ ${{ inputs.bolt-optimizations && '--enable-bolt' || '' }}
9393 - name : Build CPython out-of-tree
94- if : ${{ inputs.free-threading }}
94+ if : inputs.free-threading
9595 working-directory : ${{ env.CPYTHON_BUILDDIR }}
9696 run : make -j
9797 - name : Build CPython out-of-tree (for compiler warning check)
Original file line number Diff line number Diff line change 4545 -e -v
4646 ${{ inputs.interpreter == 'switch-case' && '-d' || '--tail-call-interp -c Release' }}
4747 -p "${ARCH}"
48- ${{ fromJSON( inputs.free-threading) && '--disable-gil' || '' }}
48+ ${{ inputs.free-threading && '--disable-gil' || '' }}
4949 shell : bash
5050 - name : Display build info
5151 run : .\\python.bat -m test.pythoninfo
5555 -p "${ARCH}"
5656 -q --fast-ci
5757 ${{ inputs.interpreter == 'switch-case' && '-d' || '' }}
58- ${{ fromJSON( inputs.free-threading) && '--disable-gil' || '' }}
58+ ${{ inputs.free-threading && '--disable-gil' || '' }}
5959 shell : bash
You can’t perform that action at this time.
0 commit comments