Skip to content
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

Use local directory in CI #1581

Open
vkuncak opened this issue Sep 16, 2024 · 0 comments
Open

Use local directory in CI #1581

vkuncak opened this issue Sep 16, 2024 · 0 comments

Comments

@vkuncak
Copy link
Collaborator

vkuncak commented Sep 16, 2024

In some cases sbt fails due to a lock held on the directory it wishes to use. Currently it seems mostly happening on laraquad01:

https://github.com/epfl-lara/stainless/actions/runs/10874017475/job/30170826406

Perhaps this would be fixed by specifying an explicit temporary directory within the stainless checkout, like we do to download solvers, instead of relying on global /var paths. Perhaps some of these options in the sbt bach script will help (but we need to also ensure we call a new enough sbt script):

  --sbt-dir   <path>  path to global settings/plugins directory (default: ~/.sbt)
  --sbt-boot  <path>  path to shared boot directory (default: ~/.sbt/boot in 0.11 series)
  --sbt-cache <path>  path to global cache directory (default: operating system specific)
  --ivy       <path>  path to local Ivy repository (default: ~/.ivy2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant