Skip to content

Commit

Permalink
Update .cirrus.yml
Browse files Browse the repository at this point in the history
add clang-scan
  • Loading branch information
opcm authored and rdementi committed Aug 1, 2022
1 parent 120bea9 commit 1b86602
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
freebsd_instance:
image_family: freebsd-12-1
image_family: freebsd-13-1

task:
name: compilation (FreeBSD)
install_script: pkg install -y gmake cmake git
script:
- cd src
- git clone https://github.com/simdjson/simdjson.git
- cd ..
- cmake -B build -DCMAKE_INSTALL_PREFIX=.
- cd build && gmake install

task:
name: clang-scan (FreeBSD)
install_script: pkg install -y gmake cmake git devel/llvm llvm
script:
- cd src
- git clone https://github.com/simdjson/simdjson.git
- cd ..
- scan-build cmake -B build -DCMAKE_INSTALL_PREFIX=.
- cd build
- scan-build --exclude src/simdjson --status-bugs gmake install

0 comments on commit 1b86602

Please sign in to comment.