Skip to content

Merge pull request #2 from diamant3/add-ci #1

Merge pull request #2 from diamant3/add-ci

Merge pull request #2 from diamant3/add-ci #1

name: ubuntu
on:
pull_request:
push:
branches:
- main
jobs:
ubuntu_build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build & Install
run: |
sudo mkdir cmake-build-release
cd cmake-build-release
sudo cmake -DCMAKE_BUILD_TYPE=Release ..
sudo cmake --install .
- name: Build all examples
run: |
cd cmake-build-release
sudo cmake -DCMAKE_BUILD_TYPE=Release ..
sudo cmake --build .