Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the latest binaries for master branch? #27

Closed
jhmgoossens opened this issue Mar 20, 2024 · 1 comment
Closed

How to get the latest binaries for master branch? #27

jhmgoossens opened this issue Mar 20, 2024 · 1 comment

Comments

@jhmgoossens
Copy link

The latest Cbc stable release is available via Releases, but are 'nightly' builds of the master branch available? See the coin-or/Cbc#640 (comment).

The windows-ci and linux-ci build and run tests on every commit to master. However, these binaries are not stored. On the other hand, for PR builds the resulting binaries are uploaded as artifacts to the action (if: ${{ github.event_name == 'pull_request'}}).

How to publish binaries from builds of the master branch?

  1. A very easy way to publish binaries for all builds, including master, is to simply remove the above if.
    Disadvantage: such Action artifacts expire after 90 days.

  2. A slightly more complicated alternative is to create one standing Release (a "pre-release") called something like Cbc-Master or Cbc-Latest or similar (or Cbc-3.0-prerelease?). Every successful build of master branch would update the assets of this release. See for example "Sonnet-Latest" https://github.com/coin-or/Sonnet/releases/tag/latest.
    Advantage: Release assets do not expire.

  3. We don't want to publish binaries from master.

@jhmgoossens
Copy link
Author

Option 1 (Artifacts are uploaded for master builds) is now (since 30 APR 2024) implemented for Cbc and dependencies. Related projects to follow shortly

CAUTION: These master branch binaries are NOT stable! The master (nightly / unstable) branch is latest development, not a stable release!

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

No branches or pull requests

1 participant