File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ jobs:
132132 popd
133133
134134 check-foundation :
135- name : Check if there is a dependency on Foundation
135+ name : No dependencies on Foundation
136136 if : ${{ inputs.check_foundation_enabled }}
137137 runs-on : ubuntu-latest
138138 steps :
@@ -150,7 +150,7 @@ jobs:
150150 # TODO : add a similar test to Swift AWS Lambda Events
151151 EXAMPLE : APIGateway
152152 OUTPUT_DIR : .build/release
153- OUTPUT_FILE : ${{ env.OUTPUT_DIR }}/ APIGatewayLambda
153+ OUTPUT_FILE : APIGatewayLambda
154154 LIBS_TO_CHECK : " libFoundation.so libFoundationInternationalization.so lib_FoundationICU.so"
155155 run : |
156156 pushd Examples/${EXAMPLE}
@@ -160,7 +160,7 @@ jobs:
160160
161161 for LIB in ${LIBS_TO_CHECK}; do
162162 # check if the binary has a dependency on Foundation or ICU
163- ldd ${OUTPUT_FILE} | grep ${LIB} # return 1 if not found
163+ ldd ${OUTPUT_DIR}/${ OUTPUT_FILE} | grep ${LIB} # return 1 if not found
164164 # 1 is success (grep failed to find the lib), 0 is failure (grep successly found the lib)
165165 SUCCESS=$?
166166 [ $SUCCESS -eq 0 ] && echo "${LIB} found" && break
You can’t perform that action at this time.
0 commit comments