Skip to content

Commit

Permalink
temp add output to analyze prepare action
Browse files Browse the repository at this point in the history
  • Loading branch information
hgy59 committed Oct 7, 2024
1 parent 7889de7 commit 2c4a9cb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,22 @@ DEPENDENT_PACKAGES=$(echo "${GH_FILES}" | tr ' ' '\n' | grep -oP "(cross|native)
# get dependency list
# dependencies in this list include the cross or native folder (i.e. native/python cross/glib)
echo "Building dependency list..."
echo "pwd: $(pwd)"
echo "packages: $(find spk/ -maxdepth 1 -type d | cut -c 5- | sort)"
DEPENDENCY_LIST=
for package in $(find spk/ -maxdepth 1 -type d | cut -c 5- | sort)
do
if [ ! -f "./spk/${package}/BROKEN" ]; then
DEPENDENCY_LIST+=$(DEPENDENCY_WALK=1 make -s -C spk/${package} dependency-list 2> /dev/null)$'\n'
else
echo "broken package ${package}, skip dependency-list entry"
fi
done

echo "dependency list:"
echo "${DEPENDENCY_LIST}"


# search for dependent spk packages
for package in ${DEPENDENT_PACKAGES}
do
Expand Down

0 comments on commit 2c4a9cb

Please sign in to comment.