Added CRHMC in volesti4dingo (#281) #1077
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
############################################################################## | |
# GitHub Actions Workflow for volesti to build tests with GCC | |
# | |
# Copyright (c) 2020-2021 Vissarion Fisikopoulos | |
# | |
# Licensed under GNU LGPL.3, see LICENCE file | |
############################################################################## | |
name: cmake-clang | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: ${{ matrix.compilers }} | |
strategy: | |
fail-fast: false | |
matrix: | |
compilers: [clang++-6.0, clang++-7, clang++-8, clang++-9, clang++-10] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- run: sudo apt-get update || true; | |
sudo apt-get install clang-6.0 clang-7 clang-8 clang-9 clang-10 lp-solve; | |
rm -rf build; | |
mkdir build; | |
cd build; | |
cmake -D CMAKE_CXX_COMPILER=${{ matrix.compilers }} -D CMAKE_CXX_FLAGS=-fsanitize=memory -D CMAKE_CXX_FLAGS=-fsanitize=undefined -D CMAKE_CXX_FLAGS=-g -D DISABLE_NLP_ORACLES=ON -D USE_MKL=OFF ../test; | |
make; | |
ctest --verbose; |