Skip to content

Commit

Permalink
CI debug 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rdzman committed Oct 9, 2024
1 parent 7e4c3ec commit 8d5fda5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,21 @@ jobs:
- name: Include MP-Core?
run: |
export HAVE_MP_CORE0=`echo "0"`
export HAVE_MP_CORE1=`echo "1"`
export HAVE_MP_CORE2=`echo "1%"`
echo "HAVE_MP_CORE0=${HAVE_MP_CORE0}"
echo "HAVE_MP_CORE1=${HAVE_MP_CORE1}"
echo "HAVE_MP_CORE2=${HAVE_MP_CORE2}"
export INCLUDE_MP_CORE0=$(echo "$HAVE_MP_CORE0" | grep -o '[01]' | tail -n 1)
export INCLUDE_MP_CORE1=$(echo "$HAVE_MP_CORE1" | grep -o '[01]' | tail -n 1)
export INCLUDE_MP_CORE2=$(echo "$HAVE_MP_CORE2" | grep -o '[01]' | tail -n 1)
echo "INCLUDE_MP_CORE0=${INCLUDE_MP_CORE0}"
echo "INCLUDE_MP_CORE1=${INCLUDE_MP_CORE1}"
echo "INCLUDE_MP_CORE2=${INCLUDE_MP_CORE2}"
export HAVE_MP_CORE=`$ML_CMD "fprintf('%d', have_feature('mp_core'))"`
echo "HAVE_MP_CORE=${HAVE_MP_CORE}"
export INCLUDE_MP_CORE=${HAVE_MP_CORE: -1}
export INCLUDE_MP_CORE=$(echo "$HAVE_MP_CORE" | grep -o '[01]' | tail -n 1)
echo "INCLUDE_MP_CORE=${INCLUDE_MP_CORE}"
echo "INCLUDE_MP_CORE=${INCLUDE_MP_CORE}" >> $GITHUB_ENV
Expand Down

0 comments on commit 8d5fda5

Please sign in to comment.