From 428f4eb3b7695b907773a265a76d077b81c16dd1 Mon Sep 17 00:00:00 2001 From: Albin Date: Thu, 5 Sep 2024 11:48:46 +0200 Subject: [PATCH] Increase attempts and run cargo with one job --- .github/workflows/android-app-multiple.yml | 2 +- build-apk.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android-app-multiple.yml b/.github/workflows/android-app-multiple.yml index 496834708f45..f228b6a57e8f 100644 --- a/.github/workflows/android-app-multiple.yml +++ b/.github/workflows/android-app-multiple.yml @@ -40,7 +40,7 @@ jobs: strategy: fail-fast: false matrix: - attempt: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] + attempt: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30] steps: # Fix for HOME path overridden by GH runners when building in containers, see: # https://github.com/actions/runner/issues/863 diff --git a/build-apk.sh b/build-apk.sh index a6f58c572b02..ee12f48d13db 100755 --- a/build-apk.sh +++ b/build-apk.sh @@ -98,7 +98,7 @@ for ARCHITECTURE in ${ARCHITECTURES:-x86_64}; do esac echo "Building mullvad-daemon for $TARGET" - cargo build "${CARGO_ARGS[@]}" --target "$TARGET" --package mullvad-jni + cargo build "${CARGO_ARGS[@]}" --target "$TARGET" --package mullvad-jni -j 1 STRIP_TOOL="${NDK_TOOLCHAIN_DIR}/llvm-strip" TARGET_LIB_PATH="$SCRIPT_DIR/android/app/build/extraJni/$ABI/libmullvad_jni.so"