File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ jobs:
224224 config_hash : ${{ needs.check_source.outputs.config_hash }}
225225 options : |
226226 ../cpython-ro-srcdir/configure \
227+ CFLAGS="-fdiagnostics-format=json"
227228 --config-cache \
228229 --with-pydebug \
229230 --with-openssl=$OPENSSL_DIR
@@ -237,6 +238,7 @@ jobs:
237238 config_hash : ${{ needs.check_source.outputs.config_hash }}
238239 options : |
239240 ../cpython-ro-srcdir/configure \
241+ CFLAGS="-fdiagnostics-format=json"
240242 --config-cache \
241243 --with-pydebug \
242244 --with-openssl=$OPENSSL_DIR \
Original file line number Diff line number Diff line change 6363 key : ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ inputs.config_hash }}
6464 - name : Configure CPython out-of-tree
6565 working-directory : ${{ env.CPYTHON_BUILDDIR }}
66- run : ${{ inputs.options }} CFLAGS="-fdiagnostics-format=json"
66+ run : ${{ inputs.options }}
6767 - name : Build CPython out-of-tree
6868 working-directory : ${{ env.CPYTHON_BUILDDIR }}
6969 run : make -j4 &> compiler_output.txt
Original file line number Diff line number Diff line change @@ -69,9 +69,8 @@ def get_unexpected_warnings(
6969 for warning in unexpected_warnings :
7070 print (warning )
7171 return 1
72-
73- return 0
7472
73+ return 0
7574
7675def get_unexpected_improvements (
7776 warnings : list [dict ],
You can’t perform that action at this time.
0 commit comments