diff --git a/.buildkite/android.yml b/.buildkite/android.yml index 26834fd88..c02f6c7c4 100644 --- a/.buildkite/android.yml +++ b/.buildkite/android.yml @@ -1,18 +1,19 @@ steps: - label: ':robot_face: Android Build' command: - 'curl https://sh.rustup.rs -sSf | sh -s -- -y' - 'source /root/.cargo/env' - 'rustup target add aarch64-linux-android arm-linux-androideabi i686-linux-android x86_64-linux-android' - - 'apt update && apt install -y protobuf-compiler protobuf-compiler-grpc' + - 'apt update && apt install -y autoconf libtool build-essential cmake git libgtest-dev libssl-dev zlib1g-dev' - 'yarn cleaninstall --frozen-lockfile --skip-optional' - 'cd native/android' + - 'scripts/install_protobuf.sh' - './gradlew clean && ./gradlew bundleRelease --no-daemon "-Dorg.gradle.jvmargs=-Xmx32g -XX:MaxPermSize=32g -XX:+HeapDumpOnOutOfMemoryError"' plugins: - docker#v3.13.0: image: 'reactnativecommunity/react-native-android:latest' shell: ['/bin/bash', '-e', '-c'] environment: - 'BUILDKITE=true' agents: - 'autoscaling=true'