Skip to content

Commit

Permalink
ci: use codesigning through makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jwatson0 committed Oct 23, 2024
1 parent 18a5edb commit 31c6568
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions ci/build-slm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,13 @@ esac
cd "${REPODIR}"
echo "Building slm version ${VER} in ${PWD}"

${MAKE}
CONAN_OPTS="-vtrace"
if [ "$SIGN_EXECUTABLE" == "true" ] ; then
CONAN_OPTS=" -o:h codesign=True ${CONAN_OPTS}"
fi
MAKEARGS=" CONAN_OPTS=\" ${CONAN_OPTS}\" "

${MAKE} ${MAKEARGS}

if [ "$CREATE_PACKAGE" == "true" ] ; then
#VERU=${VER//./_} # convert dots to underscores
Expand All @@ -102,10 +108,6 @@ if [ "$CREATE_PACKAGE" == "true" ] ; then

cd ziptmp

if [ "$SIGN_EXECUTABLE" == "true" ] ; then
../ci/sign-windows-release.bash
fi

zip -r ../slm-${PLATFORM_DESC}_${VER}.zip *
fi

Expand Down

0 comments on commit 31c6568

Please sign in to comment.