Skip to content

Commit e18a72e

Browse files
committed
figuring out runscript
1 parent d94a8c8 commit e18a72e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/images/Singularity.cpu

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,10 @@ From: ubuntu:24.04
2020
./mfc.sh test --dry-run -j $(nproc)
2121

2222
%runscript
23+
mkdir -p /tmp/mfc/build
2324
cd /opt/MFC
25+
if [ ! -w "/opt/MFC/build" ]; then
26+
cp -r /opt/MFC /tmp/mfc/
27+
cd /tmp/mfc/MFC
28+
fi
2429
exec ./mfc.sh "$@"

0 commit comments

Comments
 (0)