Skip to content

Add benchmark for libigl #243

Add benchmark for libigl

Add benchmark for libigl #243

Workflow file for this run

name: build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build-ubuntu:
name: Build - Ubuntu
runs-on: ubuntu-24.04
env:
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/vcpkg_binary_cache
steps:
- uses: actions/checkout@v3
with:
submodules: "true"
- name: Prerequisites
run: |
sudo apt-get update
sudo apt-get install -y libomp-dev ninja-build
- name: Prepare to cache Vcpkg
run: mkdir -p ${{ env.VCPKG_DEFAULT_BINARY_CACHE }}
- uses: actions/cache@v3
env:
cache-name: vcpkg-cache
with:
path: ${{ env.VCPKG_DEFAULT_BINARY_CACHE }}
key: ${{ runner.os }}-vcpkg
- name: Configure
run: ./run configure
- name: Build
run: ./run build
- name: Test
run: ./run test
build-windows:
name: Build - Windows
runs-on: windows-latest
env:
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}\vcpkg_binary_cache
steps:
- uses: actions/checkout@v3
with:
submodules: "true"
- name: Prepare to cache Vcpkg
run: New-Item -Path ${{ env.VCPKG_DEFAULT_BINARY_CACHE }} -ItemType Directory
- uses: actions/cache@v3
env:
cache-name: vcpkg-cache
with:
path: ${{ env.VCPKG_DEFAULT_BINARY_CACHE }}
key: ${{ runner.os }}-vcpkg
- name: Configure
run: .\run configure
- name: Build
run: .\run build
- name: Test
run: .\run test
build-macos:
name: Build - macOS
runs-on: macos-latest
env:
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/vcpkg_binary_cache
steps:
- uses: actions/checkout@v3
with:
submodules: "true"
- name: Prerequisites
run: brew install autoconf-archive automake cmake libtool llvm ninja
- name: Prepare to cache Vcpkg
run: mkdir -p ${{ env.VCPKG_DEFAULT_BINARY_CACHE }}
- uses: actions/cache@v3
env:
cache-name: vcpkg-cache
with:
path: ${{ env.VCPKG_DEFAULT_BINARY_CACHE }}
key: ${{ runner.os }}-vcpkg
- name: Configure
run: ./run configure
- name: Build
run: ./run build
- name: Test
run: ./run test