Skip to content

build

build #368

Workflow file for this run

name: build
on:
push:
branches:
- main
tags:
- v*
pull_request:
branches:
- main
workflow_dispatch:
schedule:
- cron: '0 0 * * 1'
jobs:
build:
strategy:
matrix:
macos: [latest, 14, 13, 12]
runs-on: macos-${{ matrix.macos }}
name: macos-${{ matrix.macos }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Release build
run: make release_build
- name: Debug build
run: make debug_build
- name: Test
run: make test
- name: Examples
run: make examples
- name: Install
run: sudo make install
doxygen:
runs-on: macos-latest
if: github.event_name != 'pull_request'
steps:
- name: Install tools
run: brew install doxygen graphviz
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
run: make debug_build
- name: Prepare
run: touch html/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: doxygen
folder: html
single-commit: true