mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 02:34:26 +08:00
新增Android ci
This commit is contained in:
parent
67305b1f9f
commit
ca66858da2
25
.github/workflows/android.yml
vendored
Normal file
25
.github/workflows/android.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
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
|
||||
|
@ -1,6 +1,6 @@
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user