Skip to content

Commit

Permalink
add github actions to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
trbritt committed May 25, 2024
1 parent d6fd6e6 commit fa6eb99
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/.github.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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

0 comments on commit fa6eb99

Please sign in to comment.