Skip to content

Commit

Permalink
handle abi3 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Mar 3, 2024
1 parent 8c6de56 commit a9555b3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
14 changes: 13 additions & 1 deletion scripts/build-loader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,19 @@

. ${CONFIG:-$SDKROOT/config}

#
if [ -f vendor/vendor.sh ]
then
echo " vendor build"
if ${ABI3:-false}
then
echo " vendor build (abi3) $PYBUILD"
if echo $PYBUILD|grep -v -q 3.12$
then
echo "abi3 vendor build only, skipping $PYBUILD"
exit 0
fi
fi
fi

ln -s $(pwd)/src/pygbag $(pwd)/pygbag

Expand Down
14 changes: 14 additions & 0 deletions scripts/build-pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

. scripts/vendoring.sh

if [ -f vendor/vendor.sh ]
then
echo " vendor build"
if ${ABI3:-false}
then
echo " vendor build (abi3) $PYBUILD"
if echo $PYBUILD|grep -v -q 3.12$
then
echo "abi3 vendor build only, skipping $PYBUILD"
exit 0
fi
fi
fi

export PYMAJOR=$(echo -n $PYBUILD|cut -d. -f1)
export PYMINOR=$(echo -n $PYBUILD|cut -d. -f2)

Expand Down

0 comments on commit a9555b3

Please sign in to comment.