@@ -120,3 +120,98 @@ jobs:
120120 mpiexec /help2
121121 mpiexec /help3
122122 if : ${{ runner.os == 'Windows' && matrix.mpi == 'msmpi' }}
123+
124+ Linux :
125+ runs-on : ubuntu-latest
126+ steps :
127+
128+ - name : Checkout
129+ uses : actions/checkout@v3
130+
131+ - name : Setup MPICH
132+ id : setup1
133+ uses : ./
134+ with :
135+ mpi : mpich
136+ - run : test ${{ steps.setup1.outputs.mpi }} == mpich
137+ - run : command -v mpichversion
138+
139+ - name : Setup Open MPI
140+ id : setup2
141+ uses : ./
142+ with :
143+ mpi : openmpi
144+ - run : test ${{ steps.setup2.outputs.mpi }} == openmpi
145+ - run : command -v ompi_info
146+
147+ - name : Setup Intel MPI
148+ id : setup3
149+ uses : ./
150+ with :
151+ mpi : intelmpi
152+ - run : test ${{ steps.setup3.outputs.mpi }} == intelmpi
153+ - run : command -v impi_info
154+
155+ macOS :
156+ runs-on : macos-latest
157+ steps :
158+
159+ - name : Checkout
160+ uses : actions/checkout@v3
161+
162+ - name : Setup MPICH
163+ id : setup1
164+ uses : ./
165+ with :
166+ mpi : mpich
167+ - run : test ${{ steps.setup1.outputs.mpi }} == mpich
168+ - run : command -v mpichversion
169+
170+ - name : Setup Open MPI
171+ id : setup2
172+ uses : ./
173+ with :
174+ mpi : open-mpi
175+ - run : test ${{ steps.setup2.outputs.mpi }} == openmpi
176+ - run : command -v ompi_info
177+
178+ - name : Unlink Homebrew MPI formulae
179+ run : brew unlink mpich openmpi
180+
181+ - name : Setup MPICH
182+ id : setup3
183+ uses : ./
184+ with :
185+ mpi : mpich
186+ - run : test ${{ steps.setup3.outputs.mpi }} == mpich
187+ - run : command -v mpichversion
188+
189+ - name : Setup Open MPI
190+ id : setup4
191+ uses : ./
192+ with :
193+ mpi : ompi
194+ - run : test ${{ steps.setup4.outputs.mpi }} == openmpi
195+ - run : command -v ompi_info
196+
197+ Windows :
198+ runs-on : windows-latest
199+ steps :
200+
201+ - name : Checkout
202+ uses : actions/checkout@v3
203+
204+ - name : Setup Intel MPI
205+ id : setup1
206+ uses : ./
207+ with :
208+ mpi : intel
209+
210+ - name : Setup Microsoft MPI
211+ id : setup2
212+ uses : ./
213+ with :
214+ mpi : microsoft
215+
216+ - run : test ${{ steps.setup1.outputs.mpi }} == intelmpi
217+ - run : test ${{ steps.setup2.outputs.mpi }} == msmpi
0 commit comments