-
Notifications
You must be signed in to change notification settings - Fork 116
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
Migrate CI to GitHub Actions #637
Conversation
f3e6a42
to
a776062
Compare
a776062
to
775fb96
Compare
It took a while to fix caching issues, but now it should work: first run without cache, second run with cache. Gambit master still doesn't compile, I haven't been able to find the source of the error. If someone has an idea, I'm interested! The latest Gambit CI is successful, so this one should compile correctly as well... |
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.
Thank you, this is great!
Let's run it to see the build failure for gambit head. |
ok, this looks like we might not setting up the environment correctly -- can we look at gambit's CI and see how they build there? |
Actually, I can reproduce the error locally. With a fresh clone of gambit, on master: ./configure --enable-single-host
make I get the same error as I get in the CI:
I don't see anything in their CI config that is significantly different, so I'm not sure where we could go from here. Maybe there is something to do that isn't yet documented in the |
Lets file an issue in gambit and ask marc. gitter might be faster.
…On Sat, Oct 23, 2021, 17:30 Dimitri Lozeve ***@***.***> wrote:
Actually, I can reproduce the error locally. With a fresh clone of gambit,
on master:
./configure --enable-single-host
make
I get the same error as I get in the CI:
_kernel.c: In function ‘___H___kernel’:
_kernel.c:5046:44: error: ‘struct ___virtual_machine_state_struct’ has no member named ‘main_module_id’; did you mean ‘main_module_ref’?
5046 | ___RESULT = ___VMSTATE_FROM_PSTATE(___ps)->main_module_id;
| ^~~~~~~~~~~~~~
| main_module_ref
I don't see anything in their CI config
<https://github.com/gambit/gambit/blob/master/.github/workflows/ci.yml#L125>
that is significantly different, so I'm not sure where we could go from
here. Maybe there is something to do that isn't yet documented in the
INSTALL file?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#637 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAI4SSQTCCJ4KBNU2LDQSLUILBHXANCNFSM5GSDMF7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
55f6045
to
a3d3406
Compare
Remove first the files created by the bootstrapping process
a3d3406
to
30d809f
Compare
might need |
I fixed the issue! Turns out Gambit master builds fine now, but Gerbil's tests do not pass on it. |
Great! Dont worry about the test failure in increment, that test is faulty. We can fix it either in this pr (if you want) or a subsequent one. |
As you wish! |
if you dont mind fixing it, lets get a green checkmark. Basically the expectation of void result from multi increment is incorrect, it is unspecified. So to fix, remove the check around the increment there -- the result is checked below. |
Maybe this should also close #80? |
ah yes, indeed! Mind updating the description to autoclose? |
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.
Thank you, this is great!
Fixes #636.
Fixes #80.
There are two workflows, one using Gambit 4.9.3 and one using Gambit master. At present, Gambit master fails to compile (although it uses the exact same build commands as 4.9.3), I'll have to investigate more.