-
Notifications
You must be signed in to change notification settings - Fork 323
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
CI: Enable sanity test for native Runner #8724
Conversation
.arg("engine-runner/buildNativeImage") | ||
.run_ok() | ||
.await?; | ||
runner_sanity_test(&self.repo_root, Some(enso_java)).await?; |
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.
Shouldn't we also run sanity check without espresso?
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.
It is run first:
runner_sanity_test(&self.repo_root, None).await?;
ide_ci::fs::remove_file_if_exists(&self.repo_root.runner)?;
let enso_java = "espresso";
sbt.command()?
.env(ENSO_JAVA, enso_java)
.arg("engine-runner/buildNativeImage")
.run_ok()
.await?;
runner_sanity_test(&self.repo_root, Some(enso_java)).await?;
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 understand. The snippet you provide runs with "espresso". Why are we not running also the following:
runner_sanity_test(&self.repo_root, None).await?;
?
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 understand. The snippet you provide runs with "espresso". Why are we not running also the following:
We are, this is the first line from my snippet.
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 guess the runner
image without espresso
has already been assembled before we get to this snippet. Then:
- the snippet runs
runner_sanity_test
without espresso - removes
runner
- builds
sbt engine-runner/buildNativeImage
again with espresso - runs the
runner_sanity_test
again
The runner with espresso has been successfully built here. Why there are two lines
next to each other: |
The runner without Espresso seems to be built at line 1212. Where is it tested? |
That is part of "Building project-manager distribution and Native Image" done in: enso/build/build/src/engine/context.rs Line 311 in a67297a
|
The first line informs about starting the process (
|
There are three native image builds now. The first one is on the line 1135, build from command The second one is on 2032, build from the command Line 2136 in 31a0dce
The third one is on 16824, build from the command Altogether, we build 3 native images: 2 images of engine runner - one with |
The runner without Enso is tested on the line 16762, right after dry-run benchmarks finished. |
Co-authored-by: Pavel Marek <[email protected]>
@Akirathan @JaroslavTulach |
Pull Request Description
If the native image of the runner was built, it will receive some basic sanity test. Then, an espresso-enabled variant of the runner will be compiled and tested as well.
Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
./run ide build
.