Skip to content

Commit 8025caf

Browse files
committed
Make debug builds configurable in reusable-ubuntu
1 parent 14ecf66 commit 8025caf

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/reusable-ubuntu.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
required: false
99
type: boolean
1010
default: false
11+
debug:
12+
description: Whether to create a Debug Build
13+
required: false
14+
type: boolean
15+
default: true
1116
free-threading:
1217
description: Whether to use free-threaded mode
1318
required: false
@@ -84,10 +89,10 @@ jobs:
8489
PROFILE_TASK='-m test --pgo --ignore test_unpickle_module_race'
8590
../cpython-ro-srcdir/configure
8691
--config-cache
87-
--with-pydebug
8892
--enable-slower-safety
8993
--enable-safety
9094
--with-openssl="$OPENSSL_DIR"
95+
${{ fromJSON(inputs.debug) && '--with-pydebug' || '' }}
9196
${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
9297
${{ fromJSON(inputs.bolt-optimizations) && '--enable-bolt' || '' }}
9398
- name: Build CPython out-of-tree

0 commit comments

Comments
 (0)