Skip to content

Commit bf32aa7

Browse files
authored
Merge branch 'swiftlang:main' into android-sleep-before-adb
2 parents 9ab5614 + 9286ad9 commit bf32aa7

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/scripts/android/android-emulator-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ nohup emulator -no-metrics -partition-size 1024 -memory 4096 -wipe-data -no-wind
9999
sleep 20
100100

101101
log "Waiting for Android emulator startup"
102+
adb start-server
103+
sleep 5
102104
timeout "${ANDROID_EMULATOR_TIMEOUT}" adb wait-for-any-device
103105

104106
log "Prepare Swift test package"

.github/workflows/swift_package_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ jobs:
648648
run: ${{ inputs.linux_pre_build_command }}
649649
- name: Install Swift SDK for Android and build
650650
env:
651-
BUILD_FLAGS: ${{ inputs.enable_android_sdk_checks && '--build-tests' }} ${{ (contains(matrix.swift_version, 'nightly') && inputs.swift_nightly_flags) || inputs.swift_flags }}
651+
BUILD_FLAGS: ${{ inputs.enable_android_sdk_checks && '--build-tests' || '' }} ${{ (contains(matrix.swift_version, 'nightly') && inputs.swift_nightly_flags) || inputs.swift_flags }}
652652
shell: bash
653653
run: |
654654
${{ inputs.android_sdk_pre_build_command }}

0 commit comments

Comments
 (0)