Skip to content

Phase 2: cross-platform release workflow - #171

Merged
neuromechanist merged 1 commit into
feature/issue-165-epic-native-binariesfrom
feature/issue-167-phase2-release-ci
Jul 17, 2026
Merged

neuromechanist merged 1 commit into
feature/issue-165-epic-native-binariesfrom
feature/issue-167-phase2-release-ci

Conversation

@neuromechanist

Copy link
Copy Markdown
Member

Summary

Adds .github/workflows/release-binaries.yml, which builds the Phase 1 dependency-free recipe on a native runner for each target and attaches checksummed binaries to the GitHub release.

Closes #167. Part of epic #165.

Targets

target runner LAPACK/BLAS dependencies
macos-arm64 macos-14 Accelerate (system) Accelerate + libSystem only (verified locally: static Fortran runtime)
linux-x64 ubuntu-latest static reference LAPACK/BLAS static Fortran runtime, dynamic glibc
linux-arm64 ubuntu-24.04-arm static reference LAPACK/BLAS as above
windows-x64 windows-latest (MSYS2 MINGW64) static OpenBLAS -static (no MSYS2 DLLs)
windows-arm64 windows-11-arm (MSYS2 CLANGARM64) static OpenBLAS experimental (continue-on-error)

Each target smoke-tests the binary (a 2-iteration fit on the bundled sample EEG must produce a finite negative LL) before uploading, so a binary that cannot run on its platform fails the job. Platform specifics live in the matrix; build.sh gained EXTRA_LDFLAGS for the static-link posture.

Validated locally

  • macOS arm64 build links only Accelerate + libSystem (-static-libgfortran -static-libgcc -static-libquadmath) -- a truly portable binary, otool -L confirmed.
  • YAML parses; the smoke-test LL guard accepts a negative LL and rejects blank/NaN/positive.

Not validatable locally

The Linux/Windows/ARM matrix runs on GitHub runners; workflow_dispatch needs the file on the default branch, so it validates on the first manual run after this epic reaches main. windows-arm64 is marked experimental (the CLANGARM64 gfortran toolchain is bleeding-edge).

@neuromechanist
neuromechanist merged commit 2adb695 into feature/issue-165-epic-native-binaries Jul 17, 2026
6 checks passed
@neuromechanist
neuromechanist deleted the feature/issue-167-phase2-release-ci branch July 17, 2026 17:02
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.

1 participant