mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
Update of NDK version
This commit is contained in:
@@ -279,13 +279,13 @@ jobs:
|
|||||||
- name: 'Build project'
|
- name: 'Build project'
|
||||||
run: |
|
run: |
|
||||||
export QT_HOST_PATH="${{ runner.temp }}/Qt/${{ env.QT_VERSION }}/gcc_64"
|
export QT_HOST_PATH="${{ runner.temp }}/Qt/${{ env.QT_VERSION }}/gcc_64"
|
||||||
export NDK_VERSION=21d
|
export NDK_VERSION=23c
|
||||||
export ANDROID_NDK_PLATFORM=android-21
|
export ANDROID_NDK_PLATFORM=android-23
|
||||||
export ANDROID_NDK_HOME=${{ runner.temp }}/android-ndk-r${NDK_VERSION}
|
export ANDROID_NDK_HOME=${{ runner.temp }}/android-ndk-r${NDK_VERSION}
|
||||||
export ANDROID_NDK_ROOT=$ANDROID_NDK_HOME
|
export ANDROID_NDK_ROOT=$ANDROID_NDK_HOME
|
||||||
|
|
||||||
if [ ! -f $ANDROID_NDK_ROOT/ndk-build ]; then
|
if [ ! -f $ANDROID_NDK_ROOT/ndk-build ]; then
|
||||||
wget https://dl.google.com/android/repository/android-ndk-r${NDK_VERSION}-linux-x86_64.zip -qO ${{ runner.temp }}/ndk.zip &&
|
wget https://dl.google.com/android/repository/android-ndk-r${NDK_VERSION}-linux.zip -qO ${{ runner.temp }}/ndk.zip &&
|
||||||
unzip -q -d ${{ runner.temp }} ${{ runner.temp }}/ndk.zip ;
|
unzip -q -d ${{ runner.temp }} ${{ runner.temp }}/ndk.zip ;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user