-
Notifications
You must be signed in to change notification settings - Fork 46
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
Refactor CI #641
Refactor CI #641
Conversation
Closing and re-opening to see if that fixes the Ci reporting (i note that the ci actually passed, but isn't reported as such on this page for some reason). |
Ah no wait the reported "pending" jobs are set to "required" for PR's and so show up even though they no longer exist, my bad. Any idea why the jobs in "second" aren't shown here @Joseph-Edwards ? |
I'm not certain, but I think it's because none of the jobs from "second" are defined in the |
While we're at it, can we transfer the azure jobs to gh actions? |
I think I'll be happy to merge this with a couple of caveats:
|
Also requires to be rebased after I've merged: #642 |
I'll look into this and make the necessary changes. The reason that some of the jobs have their own file, and some of them don't is because I wanted to see what would happen if that was the case. I'll do some restructuring to try and make everything more rational. |
@Joseph-Edwards and I discussed this just now, and essentially decided that the approach taken here is too complicated (for @james-d-mitchell at any rate). We will do the following workflows:
|
839426d
to
f6b3366
Compare
Temporarily closing this while testing to avoid cluttering the actions triggered by pull requests |
87d9a00
to
d457fe6
Compare
These changes address #641 (comment). |
Presently, the |
.github/workflows/config_options.yml
Outdated
uses: gap-actions/setup-gap@v2 | ||
with: | ||
# TODO: Should this have NautyTracesInterface included? Or is that the point of this test? | ||
GAP_PKGS_TO_BUILD: "io orb profiling grape datastructures" | ||
GAPBRANCH: stable-4.13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the comment says, has NautyTracesInterface
been excluded purposefully?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it was excluded on purpose, the package works with and without it, the tests test with and without it enabled.
.github/workflows/os.yml
Outdated
- name: "Install GAP and clone/compile necessary packages" | ||
uses: gap-actions/setup-gap@v2 | ||
with: | ||
GAP_PKGS_TO_CLONE: ${{ matrix.pkgs-to-clone }} | ||
GAP_PKGS_TO_BUILD: ${{ matrix.pkgs-to-build }} | ||
GAPBRANCH: master | ||
ABI: ${{ matrix.ABI }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we aren't explicitly testing for compatibility with a version of GAP
, which branch should we use? Here we use master
, but in config_options.yml
we use stable-4.13
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense to check against stable-4.13, since this should be stable at least :)
Most (but, surprisingly, not all) of the |
Looks like issue in digraphs, will fix first thing |
Maybe we should add the |
I've tried this locally with ./configure --enable-compile-warnings WARNING_CXXFLAGS="-Werror" WARNING_CFLAGS="-Werror" as standard How do you think we should proceed @james-d-mitchell? An exampleIn file included from /home/joseph/Dev/Comp_Maths/gap/src/gap_all.h:21,
from /home/joseph/Dev/Comp_Maths/gap/src/compiled.h:21,
from src/gap-includes.h:23,
from src/digraphs.h:19,
from src/digraphs.c:15:
/home/joseph/Dev/Comp_Maths/gap/src/ariths.h: In function ‘EQ’:
/home/joseph/Dev/Comp_Maths/gap/src/ariths.h:271:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
271 | UInt tnumL = TNUM_OBJ(opL);
| ^~~~ |
Temporarily closing again while testing. |
9fe8e55
to
a994f59
Compare
Rebased after merging #648 |
Any reason not to merge this @Joseph-Edwards ? Looks good to me now! |
Looks good to me too @james-d-mitchell. Happy to merge. |
Thanks! |
Edit
This goal of this PR has changed. Please refer to #641 (comment) for an updated idea of the changes this PR introduces.
Original post
This PR:
The dependency structure is:
Note that, presently, these changes depend on the workflows files in my fork. This is because, prior to this PR, those files didn't exist in the Digraphs fork. When this is merged, I will resolve this.
Also note that the new action created in this PR is very similar to an existing gap action. I've opened a pull request into that action, and if that is merged I will remove the custom action from this repository.