Improve android support & add CI (#2664)

* Change context destruction order.

* enable emulated tls on termux

* Fix stdlib on android

* Add a CI workflow for android termux

* update release notes

* use the new unified CI tests on android

---------

Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
This commit is contained in:
Book-reader
2026-02-05 19:04:16 +00:00
committed by GitHub
parent eddbfb8ba3
commit bb9e9b54cf
15 changed files with 122 additions and 32 deletions

View File

@@ -118,7 +118,7 @@ run_cli_tests() {
cd "$ROOT_DIR/resources"
"$C3C_BIN" vendor-fetch raylib
if [ -f "/etc/alpine-release" ] || [[ "$SYSTEM_NAME" == "OpenBSD" ]] || [[ "$SYSTEM_NAME" == "NetBSD" ]]; then
if [ -f "/etc/alpine-release" ] || [[ "$SYSTEM_NAME" == "OpenBSD" ]] || [[ "$SYSTEM_NAME" == "NetBSD" ]] || [[ "$OS_MODE" == "android" ]]; then
echo "Skipping raylib_arkanoid (vendor raylib doesn't support this platform)"
return
fi
@@ -128,8 +128,8 @@ run_cli_tests() {
run_dynlib_tests() {
echo "--- Running Dynamic Lib Tests ---"
# Skip openbsd, idk
if [[ "$SYSTEM_NAME" == *"OpenBSD"* ]]; then return; fi
# Skip openbsd and android
if [[ "$SYSTEM_NAME" == *"OpenBSD"* ]] || [[ "$OS_MODE" == "android" ]]; then return; fi
cd "$ROOT_DIR/resources/examples/dynlib-test"
"$C3C_BIN" -vv dynamic-lib add.c3