-
Notifications
You must be signed in to change notification settings - Fork 7
61 lines (53 loc) · 1.49 KB
/
c-cpp.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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
- 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