Skip to content

Add Android precompile workflow#346

Merged
warmwaffles merged 1 commit into
elixir-sqlite:mainfrom
dl-alexandre:codex/add-android-precompile-ci
Jun 3, 2026
Merged

Add Android precompile workflow#346
warmwaffles merged 1 commit into
elixir-sqlite:mainfrom
dl-alexandre:codex/add-android-precompile-ci

Conversation

@dl-alexandre
Copy link
Copy Markdown
Contributor

Summary

  • add Android aarch64-linux-android and armv7a-linux-androideabi targets to the existing cc_precompiler configuration
  • map Android precompile targets to the Android NDK clang toolchain while keeping the existing Linux/macOS/Windows targets unchanged by default
  • add an Android precompile workflow that builds one Android target per matrix job and publishes matching release artifacts on tags

Fixes #165.

Validation

  • mix format --check-formatted mix.exs
  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/android-precompile.yml")'
  • mix eval --no-compile --no-deps-check 'IO.inspect(CCPrecompiler.all_supported_targets(:fetch))'
  • git diff --check
  • mix test

Note: I validated the normal native build/test path locally on macOS. The Android cross-compile path depends on the GitHub-hosted Linux runner's Android NDK installation, so the new workflow is the first full NDK validation point.

@dl-alexandre dl-alexandre marked this pull request as ready for review May 15, 2026 05:20
@warmwaffles
Copy link
Copy Markdown
Member

Sorry, I'll get to this soon.

@dl-alexandre
Copy link
Copy Markdown
Contributor Author

Thanks for the update! No rush at all — just wanted to make sure the PR was still on your radar. Happy to provide any additional context or changes if needed (e.g. for other platforms).

@warmwaffles
Copy link
Copy Markdown
Member

Hey sorry I just have been swamped with other things lately. This looks good enough to me. I do need to cut another version soon, we have changes interrupts that I need to get cut.

@warmwaffles warmwaffles merged commit f2aec74 into elixir-sqlite:main Jun 3, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add arm / android compilation strategy to ci workflow

2 participants