Push 2023 09 23 #240
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: Mac OS X scan-build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: cmake | |
run: | | |
rm -rf ${{ github.workspace }}/build | |
$(brew --prefix llvm@15)/bin/scan-build cmake -B ${{ github.workspace }}/build -DCMAKE_INSTALL_PREFIX=${{ github.workspace }} | |
- name: make | |
run: | | |
cd ${{ github.workspace }}/build | |
$(brew --prefix llvm@15)/bin/scan-build --exclude src/simdjson --status-bugs make -j |