Skip to content

Commit 95c8d28

Browse files
Try using default NDK and NDK env vars instead of 16
1 parent 2e83b7a commit 95c8d28

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

.github/workflows/cpp-packaging.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -539,24 +539,11 @@ jobs:
539539
uses: actions/setup-python@v2
540540
with:
541541
python-version: '3.7'
542-
# Note: this is needed only to install the NDK.
543-
- name: Install SDK Android prerequisites
544-
if: matrix.target_platform == 'Android'
545-
shell: bash
546-
run: |
547-
build_scripts/android/install_prereqs.sh
548542
- name: Prepare for integration tests
549543
run: |
550544
pip install -r scripts/gha/requirements.txt
551545
python scripts/gha/restore_secrets.py --passphrase "${{ secrets.TEST_SECRET }}"
552546
- name: Build integration tests (and run Desktop tests)
553-
# The set up script for Android will download the NDK here.
554-
# Need to export from bash, so that /tmp gets converted on Windows.
555-
env:
556-
NDK_ROOT: /tmp/android-ndk-r16b
557-
ANDROID_NDK_HOME: /tmp/android-ndk-r16b
558-
ANDROID_NDK_PATH: /tmp/android-ndk-r16b
559-
shell: bash
560547
run: |
561548
python scripts/gha/build_testapps.py --t ${{ env.apis }} --p ${{ matrix.target_platform }} --sdk_dir firebase_cpp_sdk --output_directory ${{ github.workspace }} --execute_desktop_testapp --noadd_timestamp
562549

.github/workflows/integration_tests.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,7 @@ jobs:
115115
python scripts/gha/restore_secrets.py --passphrase "${{ secrets.TEST_SECRET }}"
116116
117117
- name: Build integration tests (and run Desktop tests)
118-
# The set up script for Android will download the NDK here.
119-
# Need to use bash, so that /tmp gets converted on Windows.
120-
env:
121-
NDK_ROOT: /tmp/android-ndk-r16b
122-
ANDROID_NDK_HOME: /tmp/android-ndk-r16b
123-
ANDROID_NDK_PATH: /tmp/android-ndk-r16b
124-
shell: bash
125118
run: |
126-
export NDK_ROOT=/tmp/android-ndk-r16b
127119
python scripts/gha/build_testapps.py --t ${{ github.event.inputs.apis }} --p ${{ matrix.target_platform }} --output_directory ${{ github.workspace }} --use_vcpkg --execute_desktop_testapp --noadd_timestamp
128120
129121
# Workaround for https://github.com/GoogleCloudPlatform/github-actions/issues/100

0 commit comments

Comments
 (0)