2525 matrix :
2626 config_set : [BaseMPI, ReverseMPI, ForwardMPI, BaseNoMPI, ReverseNoMPI, ForwardNoMPI, BaseOMP, ReverseOMP, ForwardOMP]
2727 include :
28+ - container_image : docker://ghcr.io/su2code/su2/build-su2:230629-0917
2829 - config_set : BaseMPI
2930 flags : ' -Denable-pywrapper=true -Denable-coolprop=true -Denable-tests=true --warnlevel=2 --werror'
3031 - config_set : ReverseMPI
@@ -52,12 +53,12 @@ jobs:
5253 key : ${{ matrix.config_set }}-${{ github.sha }}
5354 restore-keys : ${{ matrix.config_set }}
5455 - name : Pre Cleanup
55- uses : docker://ghcr.io/su2code/su2/build-su2:230629-0917
56+ uses : ${{ matrix.container_image }}
5657 with :
5758 entrypoint : /bin/rm
5859 args : -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
5960 - name : Build
60- uses : docker://ghcr.io/su2code/su2/build-su2:230629-0917
61+ uses : ${{ matrix.container_image }}
6162 with :
6263 args : -b ${{github.ref}} -f "${{matrix.flags}}"
6364 - name : Compress binaries
6869 name : ${{ matrix.config_set }}
6970 path : install_bin.tgz
7071 - name : Post Cleanup
71- uses : docker://ghcr.io/su2code/su2/build-su2:230629-0917
72+ uses : ${{ matrix.container_image }}
7273 with :
7374 entrypoint : /bin/rm
7475 args : -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
8182 matrix :
8283 testscript : ['vandv.py', 'tutorials.py', 'parallel_regression.py', 'parallel_regression_AD.py', 'serial_regression.py', 'serial_regression_AD.py', 'hybrid_regression.py', 'hybrid_regression_AD.py']
8384 include :
85+ - container_image : docker://ghcr.io/su2code/su2/test-su2:230629-0917
8486 - testscript : ' vandv.py'
8587 tag : MPI
8688 - testscript : ' tutorials.py'
99101 tag : OMP
100102 steps :
101103 - name : Pre Cleanup
102- uses : docker://ghcr.io/su2code/su2/test-su2:230629-0917
104+ uses : ${{ matrix.container_image }}
103105 with :
104106 entrypoint : /bin/rm
105107 args : -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
@@ -125,12 +127,12 @@ jobs:
125127 chmod a+x $BIN_FOLDER/*
126128 ls -lahR $BIN_FOLDER
127129 - name : Run Tests in Container
128- uses : docker://ghcr.io/su2code/su2/test-su2:230629-0917
130+ uses : ${{ matrix.container_image }}
129131 with :
130132 # -t <Tutorials-branch> -c <Testcases-branch>
131133 args : -b ${{github.ref}} -t develop -c develop -s ${{matrix.testscript}}
132134 - name : Cleanup
133- uses : docker://ghcr.io/su2code/su2/test-su2:230629-0917
135+ uses : ${{ matrix.container_image }}
134136 with :
135137 entrypoint : /bin/rm
136138 args : -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
@@ -143,6 +145,7 @@ jobs:
143145 matrix :
144146 testdriver : ['test_driver', 'test_driver_AD', 'test_driver_DD']
145147 include :
148+ - container_image : docker://ghcr.io/su2code/su2/test-su2:230629-0917
146149 - testdriver : ' test_driver'
147150 tag : MPI
148151 - testdriver : ' test_driver_AD'
@@ -151,7 +154,7 @@ jobs:
151154 tag : MPI
152155 steps :
153156 - name : Pre Cleanup
154- uses : docker://ghcr.io/su2code/su2/test-su2:230629-0917
157+ uses : ${{ matrix.container_image }}
155158 with :
156159 entrypoint : /bin/rm
157160 args : -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
@@ -212,11 +215,11 @@ jobs:
212215 echo $PWD
213216 ls -lahR
214217 - name : Run Unit Tests
215- uses : docker://ghcr.io/su2code/su2/test-su2:230629-0917
218+ uses : ${{ matrix.container_image }}
216219 with :
217220 entrypoint : install/bin/${{matrix.testdriver}}
218221 - name : Post Cleanup
219- uses : docker://ghcr.io/su2code/su2/test-su2:230629-0917
222+ uses : ${{ matrix.container_image }}
220223 with :
221224 entrypoint : /bin/rm
222225 args : -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
0 commit comments