Skip to content

Commit 0c5c30a

Browse files
opcmrdementi
authored andcommitted
Create macos-scan-build.yml
Change-Id: I7c36af7cbef85b7042aec59d70131e86fdfe9b5d
1 parent 4fff354 commit 0c5c30a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Mac OS X scan-build
2+
3+
on:
4+
push:
5+
branches: [ macos-scan-build ]
6+
pull_request:
7+
branches: [ macos-scan-build ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: macos-11
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: cmake
17+
run: |
18+
rm -rf ${{ github.workspace }}/build
19+
/usr/local/opt/llvm/bin/scan-build cmake -B ${{ github.workspace }}/build -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}
20+
- name: make
21+
run: |
22+
cd ${{ github.workspace }}/build
23+
/usr/local/opt/llvm/bin/scan-build --exclude src/simdjson --status-bugs make -j

0 commit comments

Comments
 (0)