Skip to content

Commit 5bd66bf

Browse files
committed
ci: Fix libpython integration for Windows GDB build
The `LIBPYTHON_KIT_ROOT` variable, which specifies the path to the Windows libpython cross compilation kit, is used by the python executable emulation script in the kit, and therefore must be available as an environment variable. This commit updates the CI workflow to export the `LIBPYTHON_KIT_ROOT` variable so that it is accessible from the cross compilation kit. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 7b9f6ee commit 5bd66bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ jobs:
573573
https://github.com/stephanosio/mingw-w64-libpython.git \
574574
${WORKSPACE}/mingw-w64-libpython
575575
# Use Python 3.6.8
576-
LIBPYTHON_KIT_ROOT=${WORKSPACE}/mingw-w64-libpython/python-3.6.8
576+
export LIBPYTHON_KIT_ROOT=${WORKSPACE}/mingw-w64-libpython/python-3.6.8
577577
# Set Python configuration resolver for GDB
578578
cat <<EOF >> .config
579579
CT_GDB_CROSS_PYTHON_BINARY="${LIBPYTHON_KIT_ROOT}/bin/python"

0 commit comments

Comments
 (0)