Skip to content

Update workflows to ubuntu-26.04 - #2617

Open
DockedFerret800 wants to merge 8 commits into
stephenberry:mainfrom
DockedFerret800:update-workflows
Open

Update workflows to ubuntu-26.04#2617
DockedFerret800 wants to merge 8 commits into
stephenberry:mainfrom
DockedFerret800:update-workflows

Conversation

@DockedFerret800

@DockedFerret800 DockedFerret800 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

This pull request updates workflows to ubuntu-26.04 and compilers and dependencies to the latest versions. The PR also removes some unnecessary workflows that can be removed thanks to natively installed compilers on the runner. I've slightly changed readme to show compiler support information more clearly and placed it before example, so it's more noticeable. Finally, I've added a dependabot GitHub Actions check in order to prevent some dependencies being severely outdated in the future.

@DockedFerret800

DockedFerret800 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

@stephenberry Hi Stephen.

Just wanted to ask your opinion on replacing handwritten CMake calls with lukka/run-cmake. This is a popular action that provides many advantages. Some advantages are code annotations, environment setup when necessary, automatic dumping of log files created by CMake, etc. The biggest advantage for us is that we can reduce and replace a large amount of handwritten command-line calls with cleaner presets, which would obviously improve readability and maintainability.

@DockedFerret800

Copy link
Copy Markdown
Contributor Author

@DockedFerret800
DockedFerret800 marked this pull request as ready for review June 11, 2026 17:41
@stephenberry

Copy link
Copy Markdown
Owner

I'd rather not use lukka/run-cmake, and I don't think it would remove much redundancy and complexity. I try to keep Glaze's dependencies as small as possible. That said, updating workflows is good, and I'll look at this in more detail.

@CramBL

CramBL commented Jun 15, 2026

Copy link
Copy Markdown

removes some unnecessary workflows that can be removed thanks to natively installed compilers on the runner.

This is a liability.

It makes environment requirements more implicit, and couples the workflow to the specific setup of the runner.

Github (microsoft) changes the tooling of runners without much regard to developers, and they've broken many workflows (speaking from experience) through the years, when they decide to add or remove stuff from their runners.

It's not like they remove random minor stuff, they literally removed the rust toolchain from runners a couple of years ago.

@DockedFerret800

Copy link
Copy Markdown
Contributor Author

@CramBL I don't understand what you are trying to say in this PR. What Rust has to do with the pull request to the C++ library? This looks like spam.

GitHub clearly communicates the differences between images, for example, see the recent announcement post for Ubuntu 26.
Previous runners also remain available. Newly released images don't replace older ones immediately, there is usually a beta period, followed by a migration period before the newest runner is distributed under the -latest label. If you do not want this behavior, you can pin the runner version directly, e.g. ubuntu-26.04.

That said, I still don't understand what you try to say here.

@CramBL

CramBL commented Jun 15, 2026

Copy link
Copy Markdown

@CramBL I don't understand what you are trying to say in this PR. What Rust has to do with the pull request to the C++ library? This looks like spam.

You're not reading it right, I'm just using it as an example, they've modified existing runners before, not just when changing to new ones. And yes they document it but it's still a nuisance.

Do as you please, I just wanted to note it.

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.

3 participants