Skip to content

Commit

Permalink
Run make clean compile using container at the start of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thalassemia committed Dec 1, 2024
1 parent daf63fb commit 3153fc9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions runscripts/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,18 @@ def main():
if sherlock_config.get("build_runtime_image", False):
build_runtime_image(runtime_image_name, True)
nf_config = nf_config.replace("IMAGE_NAME", runtime_image_name)
subprocess.run(
[
"apptainer",
"exec",
"--cwd",
os.path.dirname(os.path.dirname(__file__)),
"-e",
"make",
"clean",
"compile",
]
)
if sherlock_config.get("jenkins", False):
nf_profile = "jenkins"
else:
Expand Down

0 comments on commit 3153fc9

Please sign in to comment.