File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
swift-ci/sdks/android/scripts Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 67
67
working-directory : swift-ci/sdks/android
68
68
run : ls resources/patches/
69
69
- name : Build Android SDK in Docker
70
+ if : false
70
71
continue-on-error : true
71
72
working-directory : swift-ci/sdks/android
72
73
run : |
Original file line number Diff line number Diff line change 168
168
169
169
script_dir=$( dirname -- " ${BASH_SOURCE[0]} " )
170
170
resource_dir=" ${script_dir} /../resources"
171
+ patches_dir=$( realpath " ${script_dir} /../patches" )
172
+ ls -la ${patches_dir}
171
173
172
174
# Find the version numbers of the various dependencies
173
175
function describe {
@@ -241,8 +243,7 @@ function run() {
241
243
header " Patching Sources"
242
244
243
245
quiet_pushd ${source_dir}
244
- PATCHDIR=" ${resource_dir} /patches"
245
- patch=$( realpath " ${PATCHDIR} /swift-android.patch" )
246
+ patch=" ${patches_dir} /swift-android.patch"
246
247
247
248
# patch the patch, which seems to only be needed for an API less than 28
248
249
# https://github.com/finagolfin/swift-android-sdk/blob/main/swift-android.patch#L110
@@ -261,9 +262,9 @@ quiet_pushd ${source_dir}
261
262
fi
262
263
263
264
if [ " ${BUILD_VERSION} " = ' release' ]; then
264
- testing_patch=$( realpath " ${PATCHDIR } /swift-android-testing-release.patch" )
265
+ testing_patch=" ${patches_dir } /swift-android-testing-release.patch"
265
266
else
266
- testing_patch=$( realpath " ${PATCHDIR } /swift-android-testing-except-release.patch" )
267
+ testing_patch=" ${patches_dir } /swift-android-testing-except-release.patch"
267
268
fi
268
269
269
270
if git apply --reverse --check " $testing_patch " > /dev/null 2>&1 ; then
You can’t perform that action at this time.
0 commit comments