-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 1021 Bytes
/
.github.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
name: cestimator CI
on:
push:
branches:
- development
- master
pull_request:
branches:
- development
- master
jobs:
build:
runs-on: ubuntu-latest
env:
BUILD_TYPE: Debug
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up GCC-13
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt update
sudo apt install gcc-13 g++-13 -y
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 60
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 60
sudo update-alternatives --set gcc /usr/bin/gcc-13
sudo update-alternatives --set g++ /usr/bin/g++-13
- name: Install dependencies
run: sudo apt install -y libeigen3-dev libmgl-dev
- name: Configure
run: ./configure --with-visualization
- name: Build
run: make
- name: Build examples
run: make examples