Skip to content

Conversation

@sermuns
Copy link

@sermuns sermuns commented Apr 30, 2025

Add github action release workflow that automatically publishes release with built binary on tags.

@matsstralbergiis
Copy link
Contributor

Hi! Thanks a lot for your contribution — this is a great idea, and we fully agree that automating release builds and publishing through GitHub Actions would be very useful.

Currently, we build binaries for a wide range of platforms (Windows, macOS, multiple Linux architectures, as well as FreeBSD and OpenBSD), which are available here:
https://www.bredbandskollen.se/om/mer-om-bbk/bredbandskollen-cli/

Your proposed workflow is a solid starting point, but at the moment we don’t have the capacity to set up support for all the platforms we distribute. That said, we’d really welcome any help in extending the workflow to cover more target systems — using cross-compilation or matrix builds, for example.

Thanks again for the initiative — we appreciate it and look forward to improving the release process together!

@sermuns sermuns force-pushed the master branch 12 times, most recently from abf1977 to 1af2c4d Compare May 26, 2025 14:06
@sermuns
Copy link
Author

sermuns commented May 26, 2025

I have now added jobs to build Linux (amd64, arm64, armhf, i386, mips), Windows (amd64), MacOS (amd64), FreeBSD (amd64), OpenBSD (amd64). I have, however, not tried to run the binaries in their respective environment.

@sermuns sermuns changed the title Add release for linux Add release workflow for Linux, Windows, MacOS, FreeBSD and OpenBSD May 26, 2025
Copy link

@FaffeF FaffeF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems great, and I think PRs would benefit from automatic builds as well

@sermuns sermuns changed the title Add release workflow for Linux, Windows, MacOS, FreeBSD and OpenBSD Add build/release workflow for Linux, Windows, MacOS, FreeBSD and OpenBSD May 27, 2025
@FaffeF
Copy link

FaffeF commented May 27, 2025

I kind of expected the action to run on this PR, but that probably doesn't kick in until it's merged?

Copilot's take:
If this repository is configured to require approval for workflows from first-time or new contributors, could a maintainer please review and approve the workflow run for this PR? This will allow the CI to execute and validate the new workflow file.

Thank you!

@sermuns
Copy link
Author

sermuns commented Oct 8, 2025

Does this look reasonable? Do you request any further changes before merging?

@matsstralbergiis
Copy link
Contributor

It is hard to find the time to review your work. But we will try it out when we release the next version of the CLI-client. We are working on a new version at the moment.
Thanks for contributing.

jobs:
build-linux:
name: Build Linux
runs-on: ubuntu-24.04

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JFYI: not sure whether this applies in case of bbk CLI, though building on very latest Ubuntu runner isn't always beneficial. If the tool depends on very latest glibc, it may fail on older, though still supported versions of Ubuntu. A random illustrative example of what I mean: hougesen/mdsf#1322

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.

4 participants