mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-21 21:22:44 +00:00
Fix Android CI build and revert to the previous version of the NDK
This commit is contained in:
parent
548d8cdd77
commit
5a1bacdba6
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -157,6 +157,10 @@ jobs:
|
||||||
cargo -vV
|
cargo -vV
|
||||||
cargo install cargo-ndk
|
cargo install cargo-ndk
|
||||||
|
|
||||||
|
- name: Install development kits
|
||||||
|
run: |
|
||||||
|
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install --package_file=app/app/packages.txt
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ github.ref_type }}" == "tag" ]; then
|
if [ "${{ github.ref_type }}" == "tag" ]; then
|
||||||
|
|
|
@ -7,7 +7,7 @@ android {
|
||||||
namespace "io.github.doukutsu_rs"
|
namespace "io.github.doukutsu_rs"
|
||||||
compileSdkVersion 33
|
compileSdkVersion 33
|
||||||
buildToolsVersion "33.0.0"
|
buildToolsVersion "33.0.0"
|
||||||
ndkVersion "27.0.12077973"
|
ndkVersion "25.2.9519653"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "io.github.doukutsu_rs"
|
applicationId "io.github.doukutsu_rs"
|
||||||
|
|
3
app/app/packages.txt
Normal file
3
app/app/packages.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
ndk;25.2.9519653
|
||||||
|
build-tools;33.0.0
|
||||||
|
platforms;android-33
|
Loading…
Reference in a new issue