Skip to content

ci(release): highs-sys WASI cross-compile fails — root-cause + restore test-evidence as required #293

@avrabe

Description

@avrabe

Context

The v0.10.0 release workflow (run 25966236046) succeeded on all cross-platform binary builds but failed on `build-test-evidence`. The failure traces to spar's transitive `highs-sys` dependency:

```
CMake Error at highs/CMakeLists.txt:364 (target_link_libraries):
Target "highs" links to:
Threads::Threads
but the target was not found.
```

This is the WASI sysroot lacking the `Threads::Threads` CMake target — the wasi-sdk integration done in #274 doesn't supply it.

Immediate workaround (this PR)

In the workflow patch landing alongside this issue: `build-test-evidence` is now `continue-on-error: true` and removed from `create-release`'s `needs`. The release now publishes binaries even when test-evidence fails.

What needs to happen here

  1. Reproduce the failure locally with wasi-sdk 25.0 + `cargo build -p spar --target wasm32-wasip2`.
  2. Investigate whether `highs-sys` needs a feature flag to skip threading on WASI, or whether the wasi-sysroot needs a stub `FindThreads.cmake`.
  3. Upstream the fix to `highs-sys` or `spar` (vendor a build-script patch in `spar` first if highs-sys is unresponsive).
  4. Once green, revert the `continue-on-error` + re-add `build-test-evidence` to `create-release` needs.

History

Refs: #272, #274, release run 25966236046, v0.10.0 manual republish 2026-05-16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions