-
Notifications
You must be signed in to change notification settings - Fork 9
50 lines (39 loc) · 961 Bytes
/
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
name: C/C++ CI
on:
push:
pull_request:
branches: [ modelicacc-dev ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install deps.
run: |
sudo apt-get update
sudo apt-get install autoconf
sudo apt-get install boost1.71
sudo apt-get install cmake
sudo apt-get install doxygen
sudo apt-get install g++
sudo apt-get install libginac-dev
sudo apt-get install make
sudo apt-get install rapidjson-dev
- name: Autoconf
working-directory: .
run: autoconf
- name: Configure
working-directory: .
run: ./configure
- name: SBG
working-directory: .
run: make update-sbg repo_checkout=https
- name: Build
working-directory: .
run: make
- name: Doc
working-directory: .
run: make doc
- name: Tests
working-directory: .
run: make test