mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
38 lines
896 B
YAML
38 lines
896 B
YAML
|
language: cpp
|
||
|
|
||
|
os-common:
|
||
|
macos: &os-common-macos
|
||
|
addons:
|
||
|
homebrew:
|
||
|
taps:
|
||
|
- facebook/fb
|
||
|
- homebrew/cask-versions
|
||
|
casks:
|
||
|
- java8
|
||
|
packages:
|
||
|
- buck
|
||
|
- watchman
|
||
|
- python
|
||
|
- python@2
|
||
|
before_script:
|
||
|
- export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"
|
||
|
|
||
|
cache:
|
||
|
directories:
|
||
|
- buck-out
|
||
|
|
||
|
matrix:
|
||
|
include:
|
||
|
- os: osx
|
||
|
osx_image: xcode10.1
|
||
|
env: OSQUERY_PLATFORM="macos-x86_64" OSQUERY_BUILD_MODE="release"
|
||
|
<<: *os-common-macos
|
||
|
- os: osx
|
||
|
osx_image: xcode10.1
|
||
|
env: OSQUERY_PLATFORM="macos-x86_64" OSQUERY_BUILD_MODE="debug"
|
||
|
<<: *os-common-macos
|
||
|
|
||
|
script:
|
||
|
- buck build @mode/${OSQUERY_PLATFORM}/${OSQUERY_BUILD_MODE} -c color.ui=never osquery:osqueryd
|
||
|
- buck test @mode/${OSQUERY_PLATFORM}/${OSQUERY_BUILD_MODE} -c color.ui=never osquery/...
|