35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Benchmarks of server, BIND and Kea (test/bench, docs/SYSTEM-REQUIREMENTS.md).
|
|
# Started by hand; the results are printed as a Markdown table in the log
|
|
# (and in the job summary where the runner supports it).
|
|
name: bench
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: bench-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
bench:
|
|
name: Benchmark (server, BIND, Kea)
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 90
|
|
env:
|
|
# The Docker daemon may be shared: unique compose project.
|
|
COMPOSE_PROJECT_NAME: ddi-bench-${{ github.run_id }}
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
|
with:
|
|
go-version-file: go.mod
|
|
cache: false
|
|
- name: Tools
|
|
run: command -v jq >/dev/null || { apt-get update -qq && apt-get install -y -qq --no-install-recommends jq; }
|
|
- name: Build
|
|
run: make build-go
|
|
- name: Benchmark
|
|
run: make bench
|