Skip to content

Add Linux build job to CI and include Linux artifacts in release#1

Merged
aa2013 merged 1 commit into
mainfrom
codex/modify-action-for-linux-version
May 22, 2026
Merged

Add Linux build job to CI and include Linux artifacts in release#1
aa2013 merged 1 commit into
mainfrom
codex/modify-action-for-linux-version

Conversation

@aa2013
Copy link
Copy Markdown
Owner

@aa2013 aa2013 commented May 22, 2026

Motivation

  • Provide prebuilt Linux artifacts alongside existing Android builds for both x86_64 and arm64 architectures.
  • Ensure liblua and lua-cjson binaries are built and published in the same release as the Android artifacts.

Description

  • Added a new build-linux job to .github/workflows/build-android-lua.yml that builds for x86_64 and arm64 using a simple cross-toolchain and produces liblua and cjson shared objects.
  • Added caching and conditional download steps for Lua source (lua-${{ env.LUA_VERSION }}) and lua-cjson source, and an Install Linux build dependencies step that installs required packages.
  • Implemented toolchain selection using the job matrix, built liblua.so and cjson.so with -fPIC and copied outputs to output/linux/${{ matrix.architecture }} and uploaded artifacts with actions/upload-artifact@v4.
  • Updated the create-release job to depend on build-linux, broadened the artifact download pattern to lua-*-*, and updated the release name, tag_name, and files list to include the new Linux artifacts.

Testing

  • No automated tests were executed as part of this changeset; the additions are workflow changes that will be validated when the GitHub Actions workflow is run and will produce build artifacts on execution.

Codex Task

@aa2013 aa2013 merged commit 4d0fede into main May 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant