File tree Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change 5151 - name : Test Suite
5252 run : /bin/bash mfc.sh test -j $(nproc)
5353
54- self :
55- name : (Self) Test Suite
54+ self-cpu :
55+ name : (Self) Test Suite - CPU
5656 strategy :
5757 matrix :
5858 include :
7878 module load nvhpc/22.11
7979 /bin/bash mfc.sh test -j 4
8080
81+ self-gpu :
82+ name : (Self) Test Suite - GPU
83+ strategy :
84+ matrix :
85+ include :
86+ - os : self-hosted
87+ runs-on : ${{ matrix.os }}
88+ if : github.repository == 'MFlowCode/MFC'
89+ steps :
90+ - name : Clone
91+ uses : actions/checkout@v3
92+
93+ - name : Setup
94+ run : echo "test"
95+
96+ - name : Build
97+ run : |
98+ module use /opt/nvidia/hpc_sdk/modulefiles/
99+ module load nvhpc/22.11
100+ /bin/bash mfc.sh build -j 4 --gpu
101+
102+ - name : Test Suite
103+ run : |
104+ module use /opt/nvidia/hpc_sdk/modulefiles/
105+ module load nvhpc/22.11
106+ /bin/bash mfc.sh test -b mpirun --gpu
107+
You can’t perform that action at this time.
0 commit comments