mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00

This patch replaces the container-strucuture-tests for the Zeek container with a BTest-driven approach to provide a more familiar experience. In addtion to `python3` for `btest` we also rely on `make` being available in Github-hosted runners which at least currently seems to be hold (probably pulled in as a dependency of CMake which is officially included, see https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md).
12 lines
268 B
Makefile
12 lines
268 B
Makefile
# See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
VERSION := $$(cat ../VERSION)
|
|
|
|
.PHONY: all
|
|
|
|
all:
|
|
@docker build -t zeek:$(VERSION) -f Dockerfile ..
|
|
@docker tag zeek:$(VERSION) zeek:latest
|
|
|
|
test:
|
|
@TEST_TAG=zeek:$(VERSION) $(MAKE) -C btest
|