mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
CI: Run btests on macOS under sudo
This commit is contained in:
parent
637baefd2c
commit
d989d1fc0e
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,13 @@
|
|||
result=0
|
||||
BTEST=$(pwd)/auxil/btest/btest
|
||||
|
||||
# Due to issues with DNS lookups on macOS, one of the Cirrus support people recommended we
|
||||
# run our tests as root. See https://github.com/cirruslabs/cirrus-ci-docs/issues/1302 for
|
||||
# more details.
|
||||
if [[ "${CIRRUS_OS}" == "darwin" ]]; then
|
||||
BTEST="sudo ${BTEST}"
|
||||
fi
|
||||
|
||||
if [[ -z "${CIRRUS_CI}" ]]; then
|
||||
# Set default values to use in place of env. variables set by Cirrus CI.
|
||||
ZEEK_CI_CPUS=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue