Skip to content

Commit 57d0a87

Browse files
committed
bpo-43244: GitHub Action builds Python in debug mode on Windows
The debug mode catchs more bugs but is slower.
1 parent 6af528b commit 57d0a87

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ jobs:
8787
steps:
8888
- uses: actions/checkout@v2
8989
- name: Build CPython
90-
run: .\PCbuild\build.bat -e -p Win32
90+
run: .\PCbuild\build.bat -e -p Win32 -d
9191
- name: Display build info
9292
run: .\python.bat -m test.pythoninfo
9393
- name: Tests
94-
run: .\PCbuild\rt.bat -p Win32 -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
94+
run: .\PCbuild\rt.bat -p Win32 -d -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
9595

9696
build_win_amd64:
9797
name: 'Windows (x64)'
@@ -103,11 +103,11 @@ jobs:
103103
- name: Register MSVC problem matcher
104104
run: echo "::add-matcher::.github/problem-matchers/msvc.json"
105105
- name: Build CPython
106-
run: .\PCbuild\build.bat -e -p x64
106+
run: .\PCbuild\build.bat -e -p x64 -d
107107
- name: Display build info
108108
run: .\python.bat -m test.pythoninfo
109109
- name: Tests
110-
run: .\PCbuild\rt.bat -p x64 -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
110+
run: .\PCbuild\rt.bat -p x64 -d -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
111111

112112
build_macos:
113113
name: 'macOS'

0 commit comments

Comments
 (0)