Skip to content

ci: build / clippy check ksud for android without cross, use ndk 29#3251

Merged
5ec1cff merged 2 commits into
mainfrom
newksud
Mar 25, 2026
Merged

ci: build / clippy check ksud for android without cross, use ndk 29#3251
5ec1cff merged 2 commits into
mainfrom
newksud

Conversation

@5ec1cff

@5ec1cff 5ec1cff commented Mar 3, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates CI to build ksud for Android using the NDK toolchain directly (without cross), while keeping a separate reusable workflow for cross-based builds of non-Android targets.

Changes:

  • Switch .github/workflows/ksud.yml from cross build to cargo build with NDK-provided clang/linker env wiring.
  • Expand the example Cargo config to include both aarch64-linux-android and x86_64-linux-android toolchain placeholders/env.
  • Add ksud-extra.yml reusable workflow (cross-based) and update build-manager.yml to use it for “extra” targets.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
userspace/ksud/.cargo/config.example.toml Adds separate placeholder toolchain vars and cargo target sections for Android aarch64 + x86_64.
.github/workflows/ksud.yml Builds Android targets without cross by configuring NDK clang/ar + Cargo linker env vars.
.github/workflows/ksud-extra.yml New reusable workflow to build ksud with cross for non-Android targets.
.github/workflows/build-manager.yml Routes extra targets to the new ksud-extra.yml and enables packing inputs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ksud.yml Outdated
Comment thread .github/workflows/ksud.yml
Comment thread .github/workflows/ksud-extra.yml Outdated
Comment thread .github/workflows/ksud-extra.yml
Comment thread .github/workflows/build-manager.yml
Comment thread userspace/ksud/.cargo/config.example.toml
Comment thread .github/workflows/ksud.yml Outdated
@5ec1cff 5ec1cff marked this pull request as draft March 7, 2026 06:49
@5ec1cff 5ec1cff force-pushed the newksud branch 5 times, most recently from 585ed1f to 70542f4 Compare March 25, 2026 03:07
@5ec1cff 5ec1cff marked this pull request as ready for review March 25, 2026 03:12
@5ec1cff 5ec1cff changed the title ci: build ksud for android without cross ci: build / clippy check ksud for android without cross, use ndk 29 Mar 25, 2026
@5ec1cff 5ec1cff requested a review from Copilot March 25, 2026 03:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ksud-extra.yml Outdated
Comment thread .github/scripts/setup-ksu-build.sh
Comment thread userspace/ksud/.cargo/config.example.toml
Comment thread .github/workflows/clippy.yml
Comment thread .github/workflows/clippy.yml
Comment thread .github/workflows/ksud.yml Outdated
@5ec1cff 5ec1cff merged commit 50e1d17 into main Mar 25, 2026
21 checks passed
@5ec1cff 5ec1cff deleted the newksud branch March 25, 2026 04:44
Tools-cx-app pushed a commit to ReSukiSU/ReSukiSU that referenced this pull request Mar 28, 2026
Tools-cx-app pushed a commit to ReSukiSU/ReSukiSU that referenced this pull request Mar 28, 2026
Tools-cx-app pushed a commit to ReSukiSU/ReSukiSU that referenced this pull request Mar 28, 2026
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.

2 participants