Skip to content

Commit 428f4eb

Browse files
committed
Increase attempts and run cargo with one job
1 parent df592aa commit 428f4eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/android-app-multiple.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
fail-fast: false
4242
matrix:
43-
attempt: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
43+
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]
4444
steps:
4545
# Fix for HOME path overridden by GH runners when building in containers, see:
4646
# https://github.com/actions/runner/issues/863

build-apk.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ for ARCHITECTURE in ${ARCHITECTURES:-x86_64}; do
9898
esac
9999

100100
echo "Building mullvad-daemon for $TARGET"
101-
cargo build "${CARGO_ARGS[@]}" --target "$TARGET" --package mullvad-jni
101+
cargo build "${CARGO_ARGS[@]}" --target "$TARGET" --package mullvad-jni -j 1
102102

103103
STRIP_TOOL="${NDK_TOOLCHAIN_DIR}/llvm-strip"
104104
TARGET_LIB_PATH="$SCRIPT_DIR/android/app/build/extraJni/$ABI/libmullvad_jni.so"

0 commit comments

Comments
 (0)