Skip to content

Commit 67efdb9

Browse files
committed
Try running tests
1 parent dedd2a8 commit 67efdb9

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ install_package() {
4444
command -v curl >/dev/null || install_package curl
4545
command -v sudo >/dev/null || install_package sudo
4646

47+
log "Show Disk Space"
48+
df -h
49+
4750
# /usr/lib/jvm/java-17-openjdk-amd64
4851
log "Installing Java"
4952
# Java packages are named different things on different distributions
@@ -75,6 +78,7 @@ export ANDROID_NDK_HOME="${ANDROID_NDK_HOME:-${ANDROID_HOME}}"
7578

7679
curl --connect-timeout 30 --retry 3 --retry-delay 2 --retry-max-time 60 -fsSL -o commandlinetools.zip https://dl.google.com/android/repository/commandlinetools-linux-13114758_latest.zip
7780
unzip commandlinetools.zip
81+
rm commandlinetools.zip
7882
mv cmdline-tools latest
7983
mkdir cmdline-tools
8084
mv latest cmdline-tools
@@ -110,6 +114,9 @@ emulator -accel-check || true
110114
#sudo udevadm trigger --name-match=kvm
111115
#emulator -accel-check
112116

117+
log "Show Disk Space"
118+
df -h
119+
113120
log "Starting Android emulator"
114121
# launch the emulator in the background; we will cat the logs at the end
115122
# TODO: -no-accel disables the need for KVM, but is very slow

.github/workflows/swift_package_test.yml

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

0 commit comments

Comments
 (0)