Skip to content

Conversation

@google-labs-jules
Copy link

Added a new GitHub Actions workflow to support nightly builds. The workflow is triggered on pushes to the master branch and performs the following tasks:

  1. Builds the MnnLlmChat Android APK using the project's build scripts.
  2. Builds pymnn Python wheels for multiple platforms (Linux, Windows, macOS) using cibuildwheel.
  3. Publishes the generated artifacts to a GitHub Release tagged nightly.

PR created automatically by Jules for task 10565793159990401680 started by @Juude

This commit adds a GitHub Actions workflow `.github/workflows/nightly_build.yml` that:
- Triggers on push to `master`.
- Builds the `MnnLlmChat` Android APK.
- Builds `pymnn` Python wheels for Linux, Windows, and macOS.
- Publishes these artifacts to a "nightly" GitHub Release.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

This commit adds `nightly-build-workflow-*` to the push triggers in
`.github/workflows/nightly_build.yml`. This ensures that the workflow
runs immediately on this feature branch, making it visible in the
GitHub Actions UI and allowing the user to verify the build process
before merging to master.
This commit adds `cd $(dirname $0)` to the beginning of
`apps/Android/MnnLlmChat/build.sh`. This ensures that the script's
relative paths (e.g., `../../../project/android`) resolve correctly
regardless of where the script is called from, fixing build failures
in the GitHub Actions workflow.
This commit modifies `apps/Android/MnnLlmChat/build.sh` to copy the
generated `libMNN.so` to a `lib` subdirectory within the build output.
This is required because the `mnn_tts` dependency expects the library
to be located in `lib/libMNN.so`, causing build failures otherwise.
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.

0 participants