File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ install_package() {
4444command -v curl > /dev/null || install_package curl
4545command -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
4851log " 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
7679curl --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
7780unzip commandlinetools.zip
81+ rm commandlinetools.zip
7882mv cmdline-tools latest
7983mkdir cmdline-tools
8084mv 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+
113120log " 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
Original file line number Diff line number Diff 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 }}
You can’t perform that action at this time.
0 commit comments