-
Notifications
You must be signed in to change notification settings - Fork 20
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
Unify pr/main workflows and use tlaplus/examples as integration tests #96
Conversation
@kape1395 I'm getting this error when using the
Do you know what could be causing this? Why can't it find zenon? |
That's because you try to use the intermediate build files. These files have no proper locations for the provers. |
Okay, so is the method of installation & execution of tlapm changed from this prerelease? https://github.com/tlaplus/tlapm/releases/tag/202210041448 How is the installer packaged now? What needs to be uploaded? Is it just the .tar.gz in the _build directory? How do you download & install that? |
Yes, that's changed. In the previous version, the release installer was actually an executable that builds Isabelle theories on installation, etc. Now all that is done while building a release, and the produced tar.gz is all you need. On my machine, after running Maybe my previous comments were misleading; I thought you tried to run the TLAPM inside the TLAPM CI. There is no need to build the release, |
This work is now ready for review, but the following issues need to be resolved before it can be merged:
Separately, it may be worth asking whether it is really necessary to build & test tlaps with three different versions of ocaml (4.08.1, 4.13.0, 4.14.0) multiplied by the two supported platforms (linux & macos) on every CI run. Seems inefficient. It's possible that the tlaplus/examples repo has some examples that are already run during tests of this repo. I will also look into this, they should be removed here to avoid redundancy. |
@ahelwer, regarding
can you check if more checks are succeeding with branch |
Maybe some redundancy is OK? I think it would be good that the |
In the LSP PR (#93), I rolled the versions to include 5.1.0 (https://github.com/tlaplus/tlapm/pull/93/files#diff-614df7545ae0c590d09c7d02f81aca54fe47524715e5e12fdbd3b9496eac51bcR8) From my side - I agree, maybe sticking with a single/latest ocaml version is enough. That would also simplify the LSP branch as the LSP server could be made non-optional. Now it builds only if ocaml-5.1.0 is there and optional libs are installed. I tried to check a random file from the examples with the #93 version.
Maybe we should look more precisely at what actually fails. |
Checked another case. It fails like that
but works as
|
I found the script. It passes on my machine with the #95 (I made a mistake in the previous comments; I used #95, not #93 version).
|
It also works like this:
Thus, the release is built correctly. |
I tend to agree with the idea of testing PRs on 5.1.0 only, but Debian Stable is still on OCaml 4.13.1, so it would be good to test with that, at least from time to time, to make sure we remain compatible with it. |
@damiendoligez @kape1395 the tlaplus/examples proofs almost all pass except for |
@ahelwer ENABLEDrules requires a build based on the updated_enabled_cdot branch. Is this the case here? |
@muenchnerkindl This is just using the tlaplus/tlapm main branch head + these PR changes. Currently the tlaplus/examples CI uses this prerelease: https://github.com/tlaplus/tlapm/releases/tag/202210041448 |
The |
Okay, what should be the sequence of events? Will that branch be merged to main in the near future? This PR can't be merged anyway until someone either puts in the needed secrets or gives me access so I can do it. |
@kape1395 any idea why this build isn't succeeding? |
@ahelwer, I have updated the Isabelle build in #109. Hope that will make that part more stable and portable.
|
I've generated the keypair and set the secret here, but I don't know under which user to install the public key on the Inria server. |
@damiendoligez Could just create a new user called tlapmrelease or something that only has write access to that one directory where we want to upload the files |
The CI of tlaplus/tlaplus already uploads as |
1bf7101
to
e206ef1
Compare
f53b5c3
to
f58c6a3
Compare
Unified main/pr workflows Signed-off-by: Andrew Helwer <[email protected]>
@kape1395 I simplified this PR so it just runs a subset of the proof specs in the tlaplus/examples repo. Quite a few failed so had to be skipped but at least this gives a baseline to work with and improve upon. |
Simplified this PR to only use tlaplus/examples integration tests:
test-fast-basic
, which is run duringmake release