Revision 96344048632acd7871b0a92ac903fc07575517f4 authored by TolisChal on 07 December 2020, 16:23:16 UTC, committed by TolisChal on 07 December 2020, 16:23:16 UTC
testSDP.yml
name: gcc-test-SDP
on: [push, pull_request]
jobs:
build:
name: ${{ matrix.compilers }}
strategy:
fail-fast: false
matrix:
compilers: [g++-4.8, g++-5, g++-6, g++-7, g++-8, g++-9]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: sudo apt-get update || true;
sudo apt-get install ${{ matrix.compilers }} lp-solve;
sudo apt install gfortran libopenblas-dev liblapack-dev libarpack2-dev;
sudo apt install git;
sudo apt install libpthread-stubs0-dev;
git clone https://github.com/m-reuter/arpackpp;
cd arpackpp;
./install-openblas.sh;
./install-arpack-ng.sh;
cp -r external ../test/SDP;
cd ../;
rm -rf buildSDP;
mkdir buildSDP;
cd buildSDP;
cmake -D CMAKE_CXX_COMPILER=${{ matrix.compilers }} ../test/SDP;
make;
Computing file changes ...