Skip to content

Add GitHub Actions workflow for cross-platform binary releases - #897

Draft
wu-haoze with Copilot wants to merge 30 commits into
masterfrom
copilot/create-binary-releases
Draft

wu-haoze with Copilot wants to merge 30 commits into
masterfrom
copilot/create-binary-releases

Conversation

Copilot AI commented Sep 15, 2026 •

Copy link
Copy Markdown

This adds a dedicated release workflow for prebuilt Marabou binaries on Ubuntu, macOS, and Windows so users can download native artifacts instead of building Boost and other dependencies locally. The workflow attaches platform archives to GitHub Releases and supports manual republishing for an existing tag.

  • Release workflow

    • Adds .github/workflows/binary-releases.yml
    • Builds standalone CLI archives for:
      • ubuntu-latest
      • macos-13 (x86_64)
      • windows-latest
    • Publishes assets to the existing GitHub Release entry
    • Supports workflow_dispatch with an explicit release_tag
    • Pins the release upload action and overwrites assets on reruns
  • Build scope tightening

    • Disables Python and test modes for release builds
    • Updates CMakeLists.txt so build-tests is only part of the default ALL build when a test mode is enabled
    • Preserves the existing default behavior for memory-test-enabled builds
  • Release correctness

    • Manual runs check out and build from the requested tag before uploading assets
    • macOS is pinned to an Intel runner so the published macos-x86_64 artifact matches the actual binary
    • Default workflow permissions are reduced to read-only except for the publish job
  • Docs

    • Updates README.md to note that tagged releases publish prebuilt binaries for Ubuntu, macOS, and Windows

Example workflow shape:

on:
  release:
    types: [published]
  workflow_dispatch:
    inputs:
      release_tag:
        description: Existing Git tag or release tag to attach manually built artifacts to
        required: true

jobs:
  build_release_binaries:
    strategy:
      matrix:
        include:
          - os: ubuntu-latest
          - os: macos-13
          - os: windows-latest

Copilot AI linked an issue Sep 15, 2026 that may be closed by this pull request
Copilot AI and others added 12 commits September 15, 2026 12:21
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Copilot AI changed the title [WIP] Add CI/CD pipelines for creating binary releases Add GitHub Actions workflow for cross-platform binary releases Sep 15, 2026
Copilot AI requested a review from wu-haoze September 15, 2026 12:31
Copilot AI and others added 3 commits September 17, 2026 14:35
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Copilot AI and others added 2 commits September 17, 2026 14:56
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Copilot AI and others added 9 commits September 17, 2026 14:59
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>
Co-authored-by: wu-haoze <10719979+wu-haoze@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

create binary releases

2 participants