Skip to content

Commit 3f858b9

Browse files
committed
ci: Link gdb-py against Python 3.10
This commit updates the CI workflow to link Python-enabled GDB against Python 3.10, which is now the minimum required version by Zephyr. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 18b554d commit 3f858b9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,8 @@ jobs:
548548
echo "${GITHUB_WORKSPACE}/crosskit/crosskit-x86_64-apple-darwin/scripts" >> $GITHUB_PATH
549549
fi
550550
551-
# Make Python 3.8 available in PATH
552-
echo "${HOMEBREW_PREFIX}/opt/python@3.8/bin" >> $GITHUB_PATH
551+
# Make Python 3.10 available in PATH
552+
echo "${HOMEBREW_PREFIX}/opt/python@3.10/bin" >> $GITHUB_PATH
553553
554554
# Set environment variables
555555
echo "TAR=gtar" >> $GITHUB_ENV
@@ -696,23 +696,23 @@ jobs:
696696
EOF
697697
698698
if [ "${{ matrix.host.name }}" == "macos-x86_64" ]; then
699-
# Use Python 3.8.12
700-
export LIBPYTHON_KIT_ROOT=${GITHUB_WORKSPACE}/crosskit/crosskit-x86_64-darwin-libpython/python-3.8.12
699+
# Use Python 3.10.15
700+
export LIBPYTHON_KIT_ROOT=${GITHUB_WORKSPACE}/crosskit/crosskit-x86_64-darwin-libpython/python-3.10.15
701701
# Set Python configuration resolver for GDB
702702
cat <<EOF >> .config
703703
CT_GDB_CROSS_PYTHON_BINARY="${LIBPYTHON_KIT_ROOT}/bin/python"
704704
EOF
705705
elif [ "${{ matrix.host.name }}" == "windows-x86_64" ]; then
706-
# Use Python 3.8.3
707-
export LIBPYTHON_KIT_ROOT=${GITHUB_WORKSPACE}/crosskit/crosskit-mingw-w64-libpython/python-3.8.3
706+
# Use Python 3.10.11
707+
export LIBPYTHON_KIT_ROOT=${GITHUB_WORKSPACE}/crosskit/crosskit-mingw-w64-libpython/python-3.10.11
708708
# Set Python configuration resolver for GDB
709709
cat <<EOF >> .config
710710
CT_GDB_CROSS_PYTHON_BINARY="${LIBPYTHON_KIT_ROOT}/bin/python"
711711
EOF
712712
else
713-
# Use Python 3.8 for non-Canadian Linux and macOS builds
713+
# Use Python 3.10 for non-Canadian Linux and macOS builds
714714
cat <<EOF >> .config
715-
CT_GDB_CROSS_PYTHON_BINARY="python3.8"
715+
CT_GDB_CROSS_PYTHON_BINARY="python3.10"
716716
EOF
717717
fi
718718

0 commit comments

Comments
 (0)