From dccd28d6b7fc1c0216d2ba211dc3a387433d42c5 Mon Sep 17 00:00:00 2001
From: Fidget-Spinner <28750310+Fidget-Spinner@users.noreply.github.com>
Date: Thu, 10 Jun 2021 02:04:40 +0800
Subject: [PATCH 1/2] Use debug builds for windows CI
---
.github/workflows/build.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index aaa95dbec86c81..09d660fd8d91b9 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -92,7 +92,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build CPython
- run: .\PCbuild\build.bat -e -p Win32
+ run: .\PCbuild\build.bat -d -e -p Win32
- name: Display build info
run: .\python.bat -m test.pythoninfo
- name: Tests
@@ -108,7 +108,7 @@ jobs:
- name: Register MSVC problem matcher
run: echo "::add-matcher::.github/problem-matchers/msvc.json"
- name: Build CPython
- run: .\PCbuild\build.bat -e -p x64
+ run: .\PCbuild\build.bat -d -e -p x64
- name: Display build info
run: .\python.bat -m test.pythoninfo
- name: Tests
From 52ef40a4ee2194e2c2bb44244343cd779787a38c Mon Sep 17 00:00:00 2001
From: Fidget-Spinner <28750310+Fidget-Spinner@users.noreply.github.com>
Date: Thu, 10 Jun 2021 02:20:40 +0800
Subject: [PATCH 2/2] amend tests to run debug build too
---
.github/workflows/build.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 09d660fd8d91b9..0fb90b3dbab9f0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -96,7 +96,7 @@ jobs:
- name: Display build info
run: .\python.bat -m test.pythoninfo
- name: Tests
- run: .\PCbuild\rt.bat -p Win32 -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
+ run: .\PCbuild\rt.bat -d -p Win32 -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
build_win_amd64:
name: 'Windows (x64)'
@@ -112,7 +112,7 @@ jobs:
- name: Display build info
run: .\python.bat -m test.pythoninfo
- name: Tests
- run: .\PCbuild\rt.bat -p x64 -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
+ run: .\PCbuild\rt.bat -d -p x64 -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0
build_macos:
name: 'macOS'