Updated macos build actions deps #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |