From d697fe0e407bbf25afbb9bdcd171e81ab26f6325 Mon Sep 17 00:00:00 2001 From: iHsin Date: Wed, 6 Nov 2024 10:34:47 +0800 Subject: [PATCH] ci: add android target --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b21d59b3..048730d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -182,6 +182,23 @@ jobs: cross: false extra-args: -F "shadowsocks, tuic, onion" rustflags: "-Ctarget-feature=+crt-static --cfg tokio_unstable" + # Android + - os: ubuntu-latest + target: aarch64-linux-android + cross: true + extra-args: -F "shadowsocks, tuic, onion" + - os: ubuntu-latest + target: armv7-linux-androideabi + cross: true + extra-args: -F "shadowsocks, tuic, onion" + - os: ubuntu-latest + target: x86_64-linux-android + cross: true + extra-args: -F "shadowsocks, tuic, onion" + - os: ubuntu-latest + target: i686-linux-android + cross: true + extra-args: -F "shadowsocks, tuic, onion" # Linux mips: tier-3, pity # Windows gnu: tokio dont work # Windows aarch: todo