mirror of https://github.com/swig/swig
Add GHA testing using Python debug interpreter
Add testing with the debug interpreter as it flushed out a few problems - those fixed in previous commit.
This commit is contained in:
parent
53f4751ffa
commit
c39c1401cc
|
@ -129,6 +129,9 @@ jobs:
|
|||
- SWIGLANG: python
|
||||
VER: '3.13'
|
||||
CSTD: gnu99
|
||||
- SWIGLANG: python
|
||||
VER: '3.13-dbg'
|
||||
CSTD: gnu99
|
||||
- SWIGLANG: python
|
||||
VER: '3.13t' # no-gil testing
|
||||
CSTD: gnu99
|
||||
|
|
|
@ -111,11 +111,17 @@ case "$SWIGLANG" in
|
|||
if [[ "$VER" ]]; then
|
||||
$RETRY sudo add-apt-repository -y ppa:deadsnakes/ppa
|
||||
$RETRY sudo apt-get -qq update
|
||||
if [[ "$VER" != *"t" ]]; then
|
||||
$RETRY sudo apt-get -qq install python${VER}-dev
|
||||
else
|
||||
$RETRY sudo apt-get -qq install python${VER::-1}-dev python${VER::-1}-nogil
|
||||
fi
|
||||
case "$VER" in
|
||||
*-dbg)
|
||||
$RETRY sudo apt-get -qq install python${VER::-4}-dev python${VER}
|
||||
;;
|
||||
*t)
|
||||
$RETRY sudo apt-get -qq install python${VER::-1}-dev python${VER::-1}-nogil
|
||||
;;
|
||||
*)
|
||||
$RETRY sudo apt-get -qq install python${VER}-dev
|
||||
;;
|
||||
esac
|
||||
WITHLANG=$WITHLANG=$SWIGLANG$VER
|
||||
elif [[ "$PY2" ]]; then
|
||||
$RETRY sudo apt-get install -qq python2-dev
|
||||
|
|
Loading…
Reference in New Issue