pc-bench/Makefile
Markus Zoppelt 9cb9d72e58
All checks were successful
Report PDF / Build PDF (push) Successful in 1m8s
Add Forgejo Action to build and upload Typst PDF
Expose packages.report (nix build .#report). CI on ubuntu-latest installs
vanilla Nix as nixuser with flakes enabled, builds the PDF, and uploads
the system-benchmark-report artifact.
2026-08-02 19:04:22 +02:00

24 lines
515 B
Makefile

.PHONY: all suite report clean shell
ROOT := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
PDF := $(ROOT)results/system-benchmark-report.pdf
all: report
shell:
nix develop
suite:
nix develop -c ./scripts/suite.sh
report: $(PDF)
$(PDF): $(ROOT)report/main.typ $(ROOT)report/data.typ $(ROOT)flake.nix
mkdir -p $(ROOT)results
nix build $(ROOT)#report -o $(ROOT)results/.report-build
cp -L $(ROOT)results/.report-build $(PDF)
rm -f $(ROOT)results/.report-build
@echo "Wrote $(PDF)"
clean:
rm -f $(PDF)