Skip to content

Commit

Permalink
update Java and install NDK 25c
Browse files Browse the repository at this point in the history
  • Loading branch information
lumpidu committed Feb 6, 2024
1 parent e78178d commit 690a05a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/dl_3rdparty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# These are downloaded from their corresponding Github Release pages according to the following
# environment variables:
# OPENFST_TAG, THRAX_TAG, FLITE_THRAX_TAG
# OPENFST_TAG, THRAX_TAG

set -o pipefail
#set -x
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
env:
OPENFST_TAG: 1.8.1-android
THRAX_TAG: 1.3.6-android
NDK_VER: 23.1.7779620
NDK_VER: 25.2.9519653
steps:
- name: Checkout the code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Decode Keystore
env:
ENCODED_KS: ${{ secrets.KEYSTORE }}
Expand All @@ -23,13 +23,20 @@ jobs:
echo "$ENCODED_KS" | base64 -di > "${TMP_KEYSTORE_FILE_PATH}"/simaromur_ks.jks
ls -al "${TMP_KEYSTORE_FILE_PATH}"
- name: set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.11
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- uses: nttld/setup-ndk@v1
with:
ndk-version: r25c
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Get CMake
uses: lukka/[email protected]
- name: Install NDK
run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;${NDK_VER}" --sdk_root=${ANDROID_SDK_ROOT}
#- name: Install NDK
# run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;${NDK_VER}" --sdk_root=${ANDROID_SDK_ROOT}
- name: Setup NDK
run: |
echo "ANDROID_NDK=$ANDROID_HOME/ndk/${NDK_VER}" >> $GITHUB_ENV
Expand Down

0 comments on commit 690a05a

Please sign in to comment.