mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/timw/run-macos-ci-tests-as-root'
* origin/topic/timw/run-macos-ci-tests-as-root: CI: Run btests on macOS under sudo
This commit is contained in:
commit
ba28dfe87e
3 changed files with 12 additions and 1 deletions
4
CHANGES
4
CHANGES
|
@ -1,3 +1,7 @@
|
||||||
|
7.2.0-dev.395 | 2025-03-19 11:58:41 -0700
|
||||||
|
|
||||||
|
* CI: Run btests on macOS under sudo (Tim Wojtulewicz, Corelight)
|
||||||
|
|
||||||
7.2.0-dev.393 | 2025-03-19 19:56:42 +0100
|
7.2.0-dev.393 | 2025-03-19 19:56:42 +0100
|
||||||
|
|
||||||
* Bump zeekjs to v0.16.0 (Arne Welzel, Corelight)
|
* Bump zeekjs to v0.16.0 (Arne Welzel, Corelight)
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
7.2.0-dev.393
|
7.2.0-dev.395
|
||||||
|
|
|
@ -7,6 +7,13 @@
|
||||||
result=0
|
result=0
|
||||||
BTEST=$(pwd)/auxil/btest/btest
|
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
|
if [[ -z "${CIRRUS_CI}" ]]; then
|
||||||
# Set default values to use in place of env. variables set by Cirrus CI.
|
# Set default values to use in place of env. variables set by Cirrus CI.
|
||||||
ZEEK_CI_CPUS=1
|
ZEEK_CI_CPUS=1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue