Skip to content

Updated macos build actions deps #7

Updated macos build actions deps

Updated macos build actions deps #7

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/llvm@17/17.0.6/bin/clang++ CMAKE_PREFIX=/opt/homebrew/Cellar/llvm@17/17.0.6/lib/cmake/llvm/ LLVM_VERSION=17 CMAKE_GENERATOR=Ninja make test
- name: Print build version
run: debug/src/clang-uml --version
- name: Print help
run: debug/src/clang-uml --help