Update CI script
This commit is contained in:
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@@ -31,7 +31,6 @@ jobs:
|
||||
if: ${{ !startsWith(matrix.os, 'windows-') }}
|
||||
run: |
|
||||
echo "HXCPP_COMPILE_CACHE=~/.hxcpp" >> $GITHUB_ENV
|
||||
echo "ANDROID_NDK_ROOT=~/android-ndk-r15c" >> $GITHUB_ENV
|
||||
|
||||
- name: Set environment variables (Windows)
|
||||
if: ${{ startsWith(matrix.os, 'windows-') }}
|
||||
@@ -66,15 +65,14 @@ jobs:
|
||||
- name: Configure Android support (Linux)
|
||||
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
|
||||
run: |
|
||||
mkdir -p $ANDROID_NDK_ROOT
|
||||
wget -O android-ndk.zip --quiet https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip
|
||||
unzip -qq android-ndk.zip -d $ANDROID_NDK_ROOT/..
|
||||
unzip -qq android-ndk.zip
|
||||
rm android-ndk.zip
|
||||
lime config ANDROID_SDK $ANDROID_HOME
|
||||
haxelib run lime config ANDROID_NDK_ROOT $ANDROID_NDK_ROOT
|
||||
haxelib run lime config JAVA_HOME $JAVA_HOME
|
||||
haxelib run lime config ANDROID_SETUP true
|
||||
haxelib run lime config
|
||||
lime config ANDROID_NDK_ROOT android-ndk-r15c
|
||||
lime config JAVA_HOME $JAVA_HOME
|
||||
lime config ANDROID_SETUP true
|
||||
lime config
|
||||
|
||||
- name: Rebuild Lime tools
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user