-
Notifications
You must be signed in to change notification settings - Fork 122
38 lines (36 loc) · 1.42 KB
/
cmake-gcc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
##############################################################################
# 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-gcc
on: [push, pull_request]
jobs:
build:
name: ${{ matrix.config.os }} - ${{ matrix.config.compiler }}
strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-22.04, compiler: g++-9}
- {os: ubuntu-22.04, compiler: g++-10}
- {os: ubuntu-22.04, compiler: g++-11}
- {os: ubuntu-22.04, compiler: g++-12}
#- {os: ubuntu-22.04, compiler: g++-13}
- {os: ubuntu-20.04, compiler: g++-7}
- {os: ubuntu-20.04, compiler: g++-8}
- {os: ubuntu-20.04, compiler: g++-9}
- {os: ubuntu-20.04, compiler: g++-10}
runs-on: ${{ matrix.config.os }}
steps:
- uses: actions/checkout@v1
- run: sudo apt-get update || true;
sudo apt-get install ${{ matrix.config.compiler }} lp-solve libopenblas-dev;
rm -rf build;
mkdir build;
cd build;
cmake -D CMAKE_CXX_COMPILER=${{ matrix.config.compiler }} -D DISABLE_NLP_ORACLES=ON -D USE_MKL=OFF ../test;
make;
ctest --verbose;