Modification of the nemlumat.f file #824
Workflow file for this run
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: tests | |
on: [push, pull_request] | |
jobs: | |
test-bindings-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
btype: [Release, Debug] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- run: sudo apt update | |
- run: sudo apt install build-essential cmake libblas-dev liblapack-dev | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- run: pip install numpy scipy matplotlib nose2 networkx | |
- run: cmake -D CMAKE_BUILD_TYPE=${{ matrix.btype }} -D WRAP_PYTHON=ON . | |
- run: make -j 2 | |
- run: nose2 --output-buffer | |
test-base-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
btype: [Release, Debug] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- run: sudo apt update | |
- run: sudo apt install build-essential cmake libblas-dev liblapack-dev valgrind | |
- run: cmake -D CMAKE_BUILD_TYPE=${{ matrix.btype }} -D BUILD_UTILS=ON . | |
- run: make -j 2 | |
- run: test/drivers/test_drivers.sh | |
- run: cd profiling && ./check_memory.sh | |
test-bindings-mac: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
btype: [Release, Debug] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- run: brew update | |
- run: brew install cmake openblas superlu | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- run: pip3 install networkx numpy scipy matplotlib nose2 | |
- run: cmake -D CMAKE_BUILD_TYPE=${{ matrix.btype }} -D WRAP_PYTHON=ON -D PYTHON_EXECUTABLE=$(python3-config --prefix)/bin/python3.11 -D PYTHON_LIBRARY=$(python3-config --prefix)/lib/libpython3.11.dylib -D PYTHON_INCLUDE_DIR=$(python3-config --prefix)/include/python3.11 -D USE_OPENMP=OFF . | |
- run: make -j 2 | |
- run: nose2 --output-buffer | |
test-base-mac: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
btype: [Release, Debug] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- run: brew update | |
- run: brew install cmake openblas superlu gfortran | |
- run: brew reinstall gcc | |
- run: cmake -D CMAKE_CXX_COMPILER=/usr/bin/g++ -D CMAKE_C_COMPILER=/usr/bin/gcc -D CMAKE_Fortran_COMPILER=/opt/homebrew/bin/gfortran -D CMAKE_BUILD_TYPE=${{ matrix.btype }} -D USE_OPENMP=OFF -D BUILD_UTILS=ON . | |
- run: make -j 2 | |
- run: test/drivers/test_drivers.sh | |
- run: cd profiling && ./check_memory.sh | |
test-bindings-windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
btype: [Release] | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: MINGW64 | |
update: true | |
install: git mingw-w64-x86_64-toolchain base-devel mingw-w64-x86_64-openblas mingw-w64-x86_64-cmake mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-numpy mingw-w64-x86_64-python-scipy mingw-w64-x86_64-python-networkx mingw-w64-x86_64-python-matplotlib mingw-w64-x86_64-gcc-fortran | |
- run: pip install nose2 | |
- run: cmake . -G"MSYS Makefiles" -D"WRAP_PYTHON=ON" -D"CMAKE_BUILD_TYPE=${{ matrix.btype }}" | |
- run: make -j 2 | |
- run: nose2 --output-buffer | |
test-base-windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
btype: [Release, Debug] | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: MINGW64 | |
update: true | |
install: git mingw-w64-x86_64-toolchain base-devel mingw-w64-x86_64-openblas mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc-fortran | |
- run: cmake . -G"MSYS Makefiles" -D"BUILD_UTILS=ON" -D"CMAKE_BUILD_TYPE=${{ matrix.btype }}" | |
- run: make -j 2 | |
- run: PATH=$PATH:$PWD/lib ./test/drivers/test_drivers.sh |