Build LibAFL Android in CI (#275)
* trying to fix android ci * fix? * still trying to fix android ci * we don't produce a cdylib, so let's not output the target
This commit is contained in:
parent
2301335bf7
commit
7c086f1877
12
.github/workflows/build_and_test.yml
vendored
12
.github/workflows/build_and_test.yml
vendored
@ -174,13 +174,19 @@ jobs:
|
|||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
- uses: nttld/setup-ndk@v1
|
||||||
|
with:
|
||||||
|
ndk-version: r21e
|
||||||
- name: install ios
|
- name: install ios
|
||||||
run: rustup target add aarch64-apple-ios
|
run: rustup target add aarch64-apple-ios
|
||||||
#- name: install android
|
- name: install android
|
||||||
# run: rustup target add aarch64-linux-android
|
run: rustup target add aarch64-linux-android
|
||||||
|
- name: install cargo ndk
|
||||||
|
run: cargo install cargo-ndk
|
||||||
- name: Build iOS
|
- name: Build iOS
|
||||||
run: cargo build --target aarch64-apple-ios
|
run: cargo build --target aarch64-apple-ios
|
||||||
#- name: Build Android
|
- name: Build Android
|
||||||
|
run: cargo ndk -t arm64-v8a build --release
|
||||||
#run: cargo build --target aarch64-linux-android
|
#run: cargo build --target aarch64-linux-android
|
||||||
# TODO: Figure out how to properly build stuff with clang
|
# TODO: Figure out how to properly build stuff with clang
|
||||||
#- name: Add clang path to $PATH env
|
#- name: Add clang path to $PATH env
|
||||||
|
Loading…
x
Reference in New Issue
Block a user