Skip to content

Commit 5d109f3

Browse files
committed
add freebsd clang-scan build gh action
Change-Id: I1d522dca26f53b8be8130948c8fd65db7b3ca9ff
1 parent 68f4f0b commit 5d109f3

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: FreeBSD clang-scan build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: macos-12
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: recursive
18+
- name: clang scan build in FreeBSD VM
19+
id: clang-scan-build
20+
uses: vmactions/freebsd-vm@v0
21+
with:
22+
usesh: true
23+
prepare: |
24+
pkg install -y curl gmake cmake devel/llvm llvm
25+
26+
run: |
27+
pwd
28+
ls -lah
29+
whoami
30+
env
31+
freebsd-version
32+
scan-build cmake -B build -DCMAKE_INSTALL_PREFIX=.
33+
cd build
34+
scan-build --exclude src/simdjson --status-bugs gmake -j

0 commit comments

Comments
 (0)