Added integration test for discrete integer. #396
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: C/C++ CI | |
on: | |
push: | |
pull_request: | |
branches: [ qss-solver-dev ] | |
env: | |
MMOC_PATH: ../../.. | |
MMOC_SRC: ../../../src | |
MMOC_DOC: ../../../doc | |
MMOC_LIBS: ../../../lib | |
MMOC_BUILD: ../../../build | |
MMOC_MODELS: ../../../models | |
MMOC_OUTPUT: ../../../output | |
MMOC_BIN: ../../../bin | |
MMOC_PACKAGES: ../../../packages | |
MMOC_LIBRARIES: ../../../lib | |
MMOC_ENGINE: ../../../src/engine | |
MMOC_INCLUDE: ../../../src/usr/include | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install deps. | |
run: | | |
sudo apt-get update | |
sudo apt-get install bison++ | |
sudo apt-get install boost1.71 | |
sudo apt-get install cmake | |
sudo apt-get install g++ | |
sudo apt-get install gfortran | |
sudo apt-get install gnuplot | |
sudo apt-get install libatlas-base-dev | |
sudo apt-get install libcln-dev | |
sudo apt-get install libconfig-dev | |
sudo apt-get install libginac-dev | |
sudo apt-get install libgsl-dev | |
sudo apt-get install libsbml5-dev | |
sudo apt-get install libscotch-dev | |
sudo apt-get install libsuitesparse-dev | |
sudo apt-get install pkgconf | |
sudo apt-get install python | |
sudo apt-get install qt5-default | |
sudo apt-get install rapidjson-dev | |
- name: Build | |
working-directory: ./src | |
run: make repo_checkout=https | |
- name: Install | |
working-directory: ./src | |
run: make install | |
- name: Tests | |
working-directory: ./src | |
run: | | |
make test |