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
Transition to GitHub Actions for CI. #1568
base: master
Are you sure you want to change the base?
Conversation
Looks like the Clippy test is running autogen, configure, etc first. Is that necessary, or can it be skipped? |
Clippy has to be able to build the project. Which requires make-docfile, globals.h, etc etc. |
Closing and re-opening to regenerate expired build logs |
The linux no gui builds fails with a few errors like
which I guess means |
I see that |
It's specifically the set of functions from line 1555 to 1558. Strange. I'm gonna mess around on my local system to see if I can reproduce and fix it. |
Part of the issue seems to be that |
I think it's fine for it to be an error, as long as it is consistent between normal and CI builds. To fix the error, I'm pretty sure we can just put an ifdef around the definitions of these functions, just like there's one around the declarations. |
That's what I ended up doing and it worked. Now I just can't figure out why the mac build is failing. I've looked at the build log but don't see where the error is |
Add the following as CI running with GitHub Actions.
rustfmt is run first essentially as a quick smoke test. If the PR is poorly formatted we can stop quickly.
clippy is then run. This acts as a code sanity and compilation check for the actual tests will be run.
Finally, each platform runs their tests. This only happens if both rustfmt and clippy succeed.