From ef2ea4ade38a165fd0b369c747098da670fb7a30 Mon Sep 17 00:00:00 2001 From: Tomio Date: Thu, 9 Jun 2022 02:58:55 +0000 Subject: [PATCH] fix(ci): fix android build --- .github/workflows/continuous-delivery.yml | 3 +++ Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml index 06e23ee0..2eed818f 100644 --- a/.github/workflows/continuous-delivery.yml +++ b/.github/workflows/continuous-delivery.yml @@ -84,6 +84,9 @@ jobs: - host: ubuntu-latest architecture: x64 target: aarch64-linux-android + setup: | + sudo apt-get update + sudo apt-get install build-essential -y build: | export CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang" export CC="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang" diff --git a/Cargo.toml b/Cargo.toml index ea5487d4..063e69e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sodium" -version = "0.4.0" +version = "0.4.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html