diff --git a/.circleci/config.yml b/.circleci/config.yml index 1c7e5f024d..18b1af1bc9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -544,10 +544,9 @@ jobs: # Keep configuring Android dependencies while AVD boots up - # Install Buck - restore-cache: *restore-buck-downloads-cache - run: - name: Install BUCK + name: Install Buck command: | buck --version # Install related tooling @@ -670,38 +669,10 @@ jobs: # Only works on stable branches when a properly tagged commit is pushed publish_npm_package: <<: *android_defaults - environment: - - ANDROID_NDK: '/opt/ndk/android-ndk-r17c' steps: - attach_workspace: at: ~/react-native - # Configure Android SDK and related dependencies - - run: - name: Configure Environment Variables - command: | - echo 'export PATH=${ANDROID_NDK}:~/buck/bin:$PATH' >> $BASH_ENV - source $BASH_ENV - - run: - name: Install Android Build Dependencies - command: ./scripts/circleci/apt-get-android-deps.sh - - - run: - name: Install Android SDK Packages - command: source scripts/android-setup.sh && getAndroidPackages - - # Install Android NDK - - run: - name: Create Android NDK Directory - command: | - if [[ ! -e /opt/ndk ]]; then - sudo mkdir /opt/ndk - fi - sudo chown ${USER:=$(/usr/bin/id -run)}:$USER /opt/ndk - - run: - name: Install Android NDK - command: source scripts/android-setup.sh && getAndroidNDK - # Fetch dependencies using Buck - run: name: Install Buck