File tree Expand file tree Collapse file tree 2 files changed +8
-26
lines changed
swift-ci/sdks/android/patches Expand file tree Collapse file tree 2 files changed +8
-26
lines changed Original file line number Diff line number Diff line change 2
2
3
3
patches_dir=$( dirname $( realpath -- " ${BASH_SOURCE[0]} " ) )
4
4
cd ${1}
5
+ git apply -v -C1 ${patches_dir} /swift-android.patch
5
6
6
- case " ${BUILD_SCHEME} " in
7
- swift-* -branch)
8
- git apply -v -C1 ${patches_dir} /swift-android-devel.patch
9
- git apply -v -C1 ${patches_dir} /swift-android.patch
10
- ;;
11
- development)
12
- git apply -v -C1 ${patches_dir} /swift-android.patch
13
- git apply -v -C1 ${patches_dir} /swift-android-trunk.patch
14
- ;;
15
- * )
16
- echo " $0 : invalid BUILD_SCHEME=${BUILD_SCHEME} "
17
- exit 1
18
- ;;
19
- esac
7
+ if [[ " ${BUILD_SCHEME} " == " swift-6.2-branch" ]]; then
8
+ git apply -v -C1 ${patches_dir} /swift-android-devel.patch
9
+ else
10
+ # This `git grep` invocation in a trunk test fails in our Docker for some
11
+ # reason, so just turn it into a plain `grep` again.
12
+ perl -pi -e ' s:"git",:#:' swift/test/Misc/verify-swift-feature-testing.test-sh
13
+ fi
20
14
21
15
# disable backtrace() for Android (needs either API33+ or libandroid-execinfo, or to manually add in backtrace backport)
22
16
perl -pi -e ' s;os\(Android\);os\(AndroidDISABLED\);g' swift-testing/Sources/Testing/SourceAttribution/Backtrace.swift
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments