This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Job5 MSMPI - Full FreeFEM version [debug mode] | |
on: [push] | |
jobs: | |
windows: | |
name: Job5 MSMPI - Windows | |
runs-on: windows-latest | |
env: | |
MPIRUN: /mingw64/bin/mpirun | |
MPICXX: /mingw64/bin/mpicxx | |
MPIFC: /mingw64/bin/mpif90 | |
MPICC: /mingw64/bin/mpicc | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- name: download MS-MPI setup | |
shell: pwsh | |
run: curl -L -O https://github.com/microsoft/Microsoft-MPI/releases/download/v10.1.1/msmpisetup.exe | |
- name: Install mpiexec.exe | |
shell: pwsh | |
run: .\msmpisetup.exe -unattend -force | |
- uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
path-type: strict | |
install: >- | |
mingw-w64-x86_64-toolchain | |
make | |
m4 | |
patch | |
git | |
flex | |
bison | |
unzip | |
mingw-w64-x86_64-openblas | |
mingw-w64-x86_64-hdf5 | |
mingw-w64-x86_64-gsl | |
autoconf | |
automake-wrapper | |
pkg-config | |
pkgfile | |
tar | |
mingw-w64-x86_64-cmake | |
mingw-w64-x86_64-msmpi | |
python | |
- name: Remove packages | |
run: pacman -R --noconfirm mingw-w64-x86_64-python mingw-w64-x86_64-gdb mingw-w64-x86_64-gdb-multiarch | |
- uses: actions/checkout@v4 | |
- name: Configure | |
run: | | |
autoreconf -i | |
./configure --enable-download --enable-debug --prefix="${HOME}/freefem" | |
./3rdparty/getall -a -o PETSc | |
- name: PETSc | |
run: | | |
cd 3rdparty/ff-petsc | |
make petsc-slepc | |
cd - | |
./reconfigure | |
- name: Build | |
run: make -j2 | |
- name: Check | |
continue-on-error: true | |
run: make check | |
- name: Install | |
run: make install |