Skip to content

Updated macos build actions deps #3

Updated macos build actions deps

Updated macos build actions deps #3

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 ninja yaml-cpp 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_VERSION=17 LLVM_CONFIG_PATH=/opt/homebrew/opt/llvm/bin/llvm-config CMAKE_GENERATOR=Ninja make test