diff --git a/.gitea/workflows/build-and-test.yml b/.gitea/workflows/build-and-test.yml index e1dd17d..7d583df 100644 --- a/.gitea/workflows/build-and-test.yml +++ b/.gitea/workflows/build-and-test.yml @@ -29,7 +29,18 @@ jobs: steps: - name: Checkout + # `lfs: true` is load-bearing, not hygiene. `core/dr-segment/models/*.onnx` + # is tracked in LFS (see .gitattributes), and a checkout without it writes + # a ~130-byte pointer where the 11 MB model should be. `dr-segment`'s build + # script detects that and panics by design, so every job that compiles it + # fails at the build script with a message about git-lfs — which reads like + # a broken build rather than a missing fetch. + # + # It stayed hidden while the Android job built `-p dr-gpu`, which does not + # reach dr-segment. Building the app crate does. uses: actions/checkout@v4 + with: + lfs: true - name: Cache cargo uses: actions/cache@v4 @@ -84,7 +95,18 @@ jobs: steps: - name: Checkout + # `lfs: true` is load-bearing, not hygiene. `core/dr-segment/models/*.onnx` + # is tracked in LFS (see .gitattributes), and a checkout without it writes + # a ~130-byte pointer where the 11 MB model should be. `dr-segment`'s build + # script detects that and panics by design, so every job that compiles it + # fails at the build script with a message about git-lfs — which reads like + # a broken build rather than a missing fetch. + # + # It stayed hidden while the Android job built `-p dr-gpu`, which does not + # reach dr-segment. Building the app crate does. uses: actions/checkout@v4 + with: + lfs: true - name: Cache cargo uses: actions/cache@v4