Skip to content

meshing_refactor_complete+ci_on_pr/push #1

meshing_refactor_complete+ci_on_pr/push

meshing_refactor_complete+ci_on_pr/push #1

Workflow file for this run

name: CI
on:
push:
branches: [development, master]
pull_request:
branches: [development, master]
jobs:
build:
name: Linux build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install deps
run: |
sudo apt-get update
sudo apt-get install -y \
libgmp-dev libmpfr-dev libboost-dev \
libtbb-dev zlib1g-dev libeigen3-dev
- name: Cache CGAL 6.1.1
id: cache-cgal
uses: actions/cache@v4
with:
path: CGAL-6.1.1
key: cgal-6.1.1
- name: Download CGAL 6.1.1
if: steps.cache-cgal.outputs.cache-hit != 'true'
run: |
curl -L -o cgal.tar.xz \
https://github.com/CGAL/cgal/releases/download/v6.1.1/CGAL-6.1.1.tar.xz
tar -xJf cgal.tar.xz
rm cgal.tar.xz
- name: Configure
run: |
cmake -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCGAL_DIR="${{ github.workspace }}/CGAL-6.1.1"
- name: Build
run: cmake --build build --parallel