Skip to content

enhance(scripts): package neutral validation script#27857

Merged
truboxl merged 4 commits intotermux:masterfrom
truboxl:validation
Jan 22, 2026
Merged

enhance(scripts): package neutral validation script#27857
truboxl merged 4 commits intotermux:masterfrom
truboxl:validation

Conversation

@truboxl
Copy link
Copy Markdown
Member

@truboxl truboxl commented Jan 2, 2026

Allow CI to build golang packages for validation test, in parallel, split into 2 batches to avoid 6 hours timeout

@truboxl
Copy link
Copy Markdown
Member Author

truboxl commented Jan 3, 2026

I guess nobody has fix building android-tools

@robertkirkman
Copy link
Copy Markdown
Member

I guess nobody has fix building android-tools

Just now I tested removing -DANDROID_TOOLS_USE_BUNDLED_FMT=ON and it built without errors. but, I don't know why it has -DANDROID_TOOLS_USE_BUNDLED_FMT=ON, so I don't know if that's sufficient. Do you think that's sufficient? (and adding fmt to TERMUX_PKG_DEPENDS)

@robertkirkman
Copy link
Copy Markdown
Member

@Biswa96 do you think it is ok to remove -DANDROID_TOOLS_USE_BUNDLED_FMT=ON, or is there something necessary in the vendored fmt?

You are involved with this

@Biswa96
Copy link
Copy Markdown
Member

Biswa96 commented Jan 3, 2026

If it compiles and works with system provided fmt, that option can be disabled.

@robertkirkman
Copy link
Copy Markdown
Member

I opened a PR here,

But when I look, it looks like the only program in that package that becomes linked to libfmt.so is fastboot.

Unfortunately, I don't have any devices that are compatible with fastboot, so I don't think I can really test it much more than this:

~ $ fastboot
fastboot: usage: no command

so I have to just assume it will work.

Make golang-validation script package neutral allowing adding other
packages test build.

Add ability to generate test build packages split in partitions.
Current strategy is split big packages to separate build.
Set fetch depth to 1 since we dont use commit history
Add ability to adapt to dynamic batch generation
Also enable zram
@truboxl truboxl merged commit 7a3d0bf into termux:master Jan 22, 2026
34 of 35 checks passed
@truboxl truboxl deleted the validation branch January 22, 2026 02:38
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.

4 participants