GitHub CI build and testing#109
Conversation
|
The Windows build fails inside of C++ header <memory> with 24 MiB log with 221268 lines. |
|
GitHub's ubuntu-latest is Ubuntu 24.04 and uses LLVM v18 (from 2024) so it's basically useless. |
|
I hate Ubuntu for exactly that reason jobs:
build-and-test:
runs-on: ubuntu-latest
container:
image: fedora:latestI've been seeing something like this online but, I really have no clue about this CI stuff. Fedora at least has up to date tools |
|
Lots and lots of Er, why is it trying to compile c++98 compatible? |
|
I had a local AI yell at me about this
|
|
Apparently latest is not the latest. Thanks macrohard |
Looks like we could use |
I will look into that bit later. I was able to successfully build LCC locally on the fedora:latest image. |
This is so bad, are they """testing""" images or something before making them latest? How do you even do that, aren't these ubuntu images pulled straight from docker or something? |
|
I almost want to close this PR, this is so bad. On sourcehut the images for are always up to date, can't multi-billion dollar corporation achieve this? |
|
I say almost, because it will be useful for catching compiler (LLVM) stupidity. |
https://docs.github.com/en/actions/reference/runners/github-hosted-runners
|
You can run actions locally? |
|
No, I just use docker. |
|
It is close-enough to actions. |
|
Lmao oh yeah may want to disable LTO |
|
Wait.. the test suite returns 0 even when it errors out? |
|
Er, afaik we had issues with cmake not running further test suites just because an earlier failed? So, as long as the tests end up running (no ICEs hit), cmake will view it as a success (at the moment). This could easily be changed afaik |
TODO:
Hopefully, will catch compiler incompatibilities quicker than the users.