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:
132
132
popd
133
133
134
134
check-foundation :
135
- name : Check if there is a dependency on Foundation
135
+ name : No dependencies on Foundation
136
136
if : ${{ inputs.check_foundation_enabled }}
137
137
runs-on : ubuntu-latest
138
138
steps :
@@ -150,7 +150,7 @@ jobs:
150
150
# TODO : add a similar test to Swift AWS Lambda Events
151
151
EXAMPLE : APIGateway
152
152
OUTPUT_DIR : .build/release
153
- OUTPUT_FILE : ${{ env.OUTPUT_DIR }}/ APIGatewayLambda
153
+ OUTPUT_FILE : APIGatewayLambda
154
154
LIBS_TO_CHECK : " libFoundation.so libFoundationInternationalization.so lib_FoundationICU.so"
155
155
run : |
156
156
pushd Examples/${EXAMPLE}
@@ -160,7 +160,7 @@ jobs:
160
160
161
161
for LIB in ${LIBS_TO_CHECK}; do
162
162
# 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
164
164
# 1 is success (grep failed to find the lib), 0 is failure (grep successly found the lib)
165
165
SUCCESS=$?
166
166
[ $SUCCESS -eq 0 ] && echo "${LIB} found" && break
You can’t perform that action at this time.
0 commit comments