8000 Add write compiler output to log and file · python/cpython@cb1f276 · GitHub
[go: up one dir, main page]

Skip to content

Commit cb1f276

Browse files
committed
Add write compiler output to log and file
1 parent 3688c5c commit cb1f276

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/reusable-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
--prefix=/opt/python-dev \
4949
--with-openssl="$(brew --prefix openssl@3.0)"
5050
- name: Build CPython
51-
run: make -j8 &> compiler_output.txt
51+
run: set -o pipefail; make -j8 2>&1 | tee compiler_output.txt
5252
- name: Display build info
5353
run: make pythoninfo
5454
- name: Check compiler warnings
55-
run: python Tools/build/check_warnings.py --compiler-output-file-path=compiler_output.txt --warning-ignore-file-path=Tools/build/.warningignore_macos --compiler-output-type=clang
55+
run: python3 Tools/build/check_warnings.py --compiler-output-file-path=compiler_output.txt --warning-ignore-file-path=Tools/build/.warningignore_macos --compiler-output-type=clang
5656
- name: Tests
5757
run: make test

0 commit comments

Comments
 (0)
0