Skip to content

Added macos build action #1

Added macos build action

Added macos build action #1

Workflow file for this run

name: macos
on:
push:
paths-ignore:
- 'docs/**'
- 'packaging/**'
- 'util/**'
- 'uml/**'
- '**.md'
- '**.svg'
- '**.png'
branches-ignore:
- 'noactions/*'
pull_request:
paths-ignore:
- 'docs/**'
- 'packaging/**'
- 'util/**'
- 'uml/**'
- '**.md'
- '**.svg'
- '**.png'
branches-ignore:
- 'noactions/*'
jobs:
build-macos:
name: Build and test on macos
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies using homebrew
run: brew install llvm@17 libyaml cmake ccache
- name: Build and test
run: CC=/opt/homebrew/Cellar/llvm@17/17.0.6/bin/clang CXX=/opt/homebrew/Cellar@17/llvm/17.0.6/bin/clang++ CMAKE_PREFIX=/opt/homebrew/opt/llvm/lib/cmake/llvm LLVM_CONFIG=/opt/homebrew/opt/llvm/bin/llvm-config CMAKE_GENERATOR=Ninja make test