Skip to content

Update googletest to 1.15.2 #537

Update googletest to 1.15.2

Update googletest to 1.15.2 #537

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: develop
- name: package
run: sudo apt-get update && sudo apt-get -y install build-essential cmake gfortran mpi-default-dev libboost-all-dev libopenblas-dev liblapack-dev liblapacke-dev libscalapack-mpi-dev trilinos-all-dev
- name: work_around_cmake_of_scalapack
run: sudo sed -i "s|lib/libscalapack-openmpi.so.2.1.0|lib/x86_64-linux-gnu/libscalapack-openmpi.so.2.1.0|" /usr/lib/cmake/scalapack-2.1.0.openmpi/scalapack-targets-none.cmake
- name: env
run: mkdir -p build/rokko build/rokko/build build/rokko/source && PREFIX_ROKKO=$(pwd)/build/rokko BUILD_DIR=$(pwd)/build/rokko/build SOURCE_DIR=$(pwd)/build/rokko/source sh ./3rd-party/install/00_env/default.sh
- name: eigenexa
run: PREFIX_ROKKO=$(pwd)/build/rokko BUILD_DIR=$(pwd)/build/rokko/build SOURCE_DIR=$(pwd)/build/rokko/source sh ./3rd-party/install/EigenExa/ubuntu.sh && PREFIX_ROKKO=$(pwd)/build/rokko BUILD_DIR=$(pwd)/build/rokko/build SOURCE_DIR=$(pwd)/build/rokko/source sh ./3rd-party/install/EigenExa/link.sh
- name: elemental
run: PREFIX_ROKKO=$(pwd)/build/rokko BUILD_DIR=$(pwd)/build/rokko/build SOURCE_DIR=$(pwd)/build/rokko/source sh ./3rd-party/install/Elemental/default.sh && PREFIX_ROKKO=$(pwd)/build/rokko BUILD_DIR=$(pwd)/build/rokko/build SOURCE_DIR=$(pwd)/build/rokko/source sh ./3rd-party/install/Elemental/link.sh
- name: petsc
run: PREFIX_ROKKO=$(pwd)/build/rokko BUILD_DIR=$(pwd)/build/rokko/build SOURCE_DIR=$(pwd)/build/rokko/source sh ./3rd-party/install/PETSc/default.sh && PREFIX_ROKKO=$(pwd)/build/rokko BUILD_DIR=$(pwd)/build/rokko/build SOURCE_DIR=$(pwd)/build/rokko/source sh ./3rd-party/install/PETSc/link.sh
- name: slepc
run: PREFIX_ROKKO=$(pwd)/build/rokko BUILD_DIR=$(pwd)/build/rokko/build SOURCE_DIR=$(pwd)/build/rokko/source sh ./3rd-party/install/SLEPc/default.sh && PREFIX_ROKKO=$(pwd)/build/rokko BUILD_DIR=$(pwd)/build/rokko/build SOURCE_DIR=$(pwd)/build/rokko/source sh ./3rd-party/install/SLEPc/link.sh
- name: cmake
run: mkdir -p build && cd build && source rokko/rokkoenv.sh && cmake -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpif90 -DMPIEXEC_PREFLAGS="--oversubscribe" ..
- name: make
run: cd build && make
- name: ctest
run: cd build && ctest -V