File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 21
21
sudo apt-get install -y apptainer
22
22
sudo apptainer config fakeroot --enable $(whoami)
23
23
(cd pr/.github/workflows/images && sudo apptainer build mfc_cpu.sif Singularity.cpu)
24
+ (cd pr/.github/workflows/images && sudo apptainer build mfc_cpu_bench.sif Singularity.cpu_bench)
25
+ (cd pr/.github/workflows/images && sudo apptainer build mfc_gpu.sif Singularity.gpu)
26
+ (cd pr/.github/workflows/images && sudo apptainer build mfc_gpu_bench.sif Singularity.gpu_bench)
24
27
25
28
- name : Test and Store Images
26
29
run : |
@@ -29,10 +32,12 @@ jobs:
29
32
chmod 600 ~/.ssh/id_rsa
30
33
ssh-keyscan -H ap40.uw.osg-htc.org >> ~/.ssh/known_hosts
31
34
scp pr/.github/workflows/images/mfc_cpu.sif ${{secrets.SSH_USER}}:MFC/mfc_cpu.sif
32
- ssh ${{secrets.SSH_USER}} "
33
- apptainer run --fakeroot MFC/mfc_cpu.sif test -a --no-build --no-mpi
35
+ ssh ${{secrets.SSH_USER}} ""
36
+ apptainer exec --fakeroot --writable-tmpfs mfc_cpu.sif /bin/bash -c 'cd /opt/MFC && ./mfc.sh test -a'
37
+ apptainer exec --fakeroot --writable-tmpfs mfc_cpu_bench.sif /bin/bash -c 'cd /opt/MFC && ./mfc.sh test -a'
38
+ apptainer exec --fakeroot --writable-tmpfs mfc_gpu.sif /bin/bash -c 'cd /opt/MFC && ./mfc.sh test -a'
39
+ apptainer exec --fakeroot --writable-tmpfs mfc_gpu_bench.sif /bin/bash -c 'cd /opt/MFC && ./mfc.sh test -a'
34
40
"
35
-
36
41
- name : Upload images as artifacts
37
42
uses : actions/upload-artifact@v4
38
43
if : always()
You can’t perform that action at this time.
0 commit comments