New workflows including clang tools #26
Workflow file for this run
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 Build | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '*/*.c' | |
- '*/*.h' | |
- '*.cmake' | |
- '*/*.cmake' | |
- 'CMakeLists.txt' | |
- '*/CMakeLists.txt' | |
- 'Config.cmake.in' | |
workflow_dispatch: | |
jobs: | |
mac-build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: lukka/get-cmake@latest | |
- name: Delete non-library files | |
run: | | |
rm -rf samples/ | |
rm -rf tests/ | |
- name: Build with Ninja and Clang | |
run: | | |
make clean | |
make clang-deb | |
make install |