Skip to content

Use random temporary directory#1

Merged
csbnw merged 2 commits intomainfrom
update-builddir
May 27, 2025
Merged

Use random temporary directory#1
csbnw merged 2 commits intomainfrom
update-builddir

Conversation

@csbnw
Copy link
Copy Markdown
Contributor

@csbnw csbnw commented May 27, 2025

To avoid conflicts between jobs that use the same workFolder (as defined in .runner), this runner creates a unique temporary directory for each job and sets it as the SLURM job’s working directory. This prevents issues like multiple jobs writing to the same build directory. To ensure access to any pre-existing files, such as those retrieved via the checkout action, those files are symlinked into the temporary directory.

csbnw added 2 commits May 27, 2025 16:24
It checks whether the temporary directory is set-up properly by
displaying the README.md from this repository.
@csbnw csbnw self-assigned this May 27, 2025
@csbnw csbnw merged commit 00c6168 into main May 27, 2025
7 checks passed
@csbnw csbnw deleted the update-builddir branch September 17, 2025 11:32
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

Successfully merging this pull request may close these issues.

1 participant