soul-browser/bundled-warp
KaKi87 acbe0401f1
Skip redundant CI rebuilds for soulamz and tooling (#85)
* Skip redundant CI rebuilds for soulamz and OCR/WARP tooling.

Refresh soulamz.inputs so prebuilts match current inputs, track OCR/WARP
dex in git with tooling.inputs, build soulamz ABIs in parallel, and drop
Actions tooling cache in favor of checkout prebuilts.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Make soulamz and tooling input stamps path-independent.

sha256sum was hashing absolute file paths, so CI and local machines
computed different values and always rebuilt prebuilts.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Store OCR/WARP dex prebuilts under prebuilts/ for reliable CI checkout.

Gitignored tools/ and bundled-ocr/ paths were not always restored on CI
runners. Relocate dex artifacts to a normal tracked directory and keep
using path-independent input stamps.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Use .dat extension for tracked OCR/WARP prebuilts.

Global *.dex gitignore was preventing reliable checkout on CI runners;
store dex bytes as .dat files instead.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Log why OCR/WARP tooling prebuilts are rebuilt on CI.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Hash prebuilt inputs from file contents only.

Filename-bearing sha256sum output still diverged between CI and local
machines for tooling sources; aggregate raw bytes instead.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Debug tooling stamp at start of build step

Co-authored-by: Cursor <cursoragent@cursor.com>

* Hash prebuilt inputs with git hash-object for CI parity.

Working-tree byte hashes differed on GitHub runners; git blob hashes
match the committed tree on every checkout.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Hash prebuilt inputs from git tree blob ids.

Use ls-tree blob hashes so checkout line-ending filters cannot skew
the stamp on CI runners.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 08:10:34 +02:00
..
lib Skip CI Go/NDK when soulamz prebuilts are already in the checkout (#84) 2026-09-02 17:43:29 +02:00
README.md Skip CI Go/NDK when soulamz prebuilts are already in the checkout (#84) 2026-09-02 17:43:29 +02:00
soulamz.inputs Skip redundant CI rebuilds for soulamz and tooling (#85) 2026-09-03 08:10:34 +02:00

Generated by scripts/build-soulamz.sh

libsoulamz.so for both ABIs lives under lib/. The directory is in .gitignore so local git add skips it, but prebuilts stay in the repository and checkouts include them. soulamz.inputs records a hash of native/soulamz inputs and scripts/build-soulamz.sh.

CI on main rebuilds when inputs change and force-commits lib/ plus soulamz.inputs with git add -f and [skip ci].

Local rebuild: ./scripts/build-soulamz.sh (requires Go and the Android NDK).