Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
- name: Native library (aarch64)
run: |
export ANDROID_NDK_HOME="$ANDROID_HOME/ndk/$NDK_VERSION"
cargo check --target aarch64-linux-android -p ezd-android -p ezd-client-core
# cargo-ndk points ring's C build at the NDK clang, which a plain cargo check lacks.
cargo ndk -t arm64-v8a check -p ezd-android -p ezd-client-core
cargo ndk -t arm64-v8a clippy -p ezd-android -p ezd-client-core -- -D warnings
- name: Host tests of the portable parts
run: cargo test -p ezd-android -p ezd-client-core
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@ jobs:
targets: aarch64-linux-android, x86_64-pc-windows-msvc
- uses: Swatinem/rust-cache@v2
- name: Protocol and link crates build for Android
run: cargo check --target aarch64-linux-android -p ezd-proto -p ezd-link
# ring (QUIC/TLS) compiles C code, so it needs the NDK's clang.
run: |
bin="$ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin"
export CC_aarch64_linux_android="$bin/aarch64-linux-android26-clang"
export AR_aarch64_linux_android="$bin/llvm-ar"
cargo check --target aarch64-linux-android -p ezd-proto -p ezd-link
- name: Platform-independent crates build for Windows
run: cargo check --target x86_64-pc-windows-msvc -p ezd-proto -p ezd-link -p ezd-host-core -p ezd-host-windows -p ezd-host-service -p ezd-host -p ezd-tray --no-default-features
Loading
Loading