Commit ca66858d by xiongziliang

新增Android ci

parent 67305b1f
name: Android CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: 下载源码
uses: actions/checkout@v1
- name: 配置JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: 下载submodule源码
run: git submodule update --init
- name: 赋予gradlew文件可执行权限
run: chmod +x ./Android/gradlew
- name: 编译
run: cd Android && ./gradlew build
......@@ -17,7 +17,7 @@ android {
}
}
ndk {
abiFilters "armeabi-v7a"//, "arm64-v8a"
abiFilters "arm64-v8a" //, "armeabi-v7a"
}
}
}
......
......@@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
classpath 'com.android.tools.build:gradle:4.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
......
#Fri May 10 12:15:32 CST 2019
#Sun Jun 19 15:19:24 CST 2022
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论