All checks were successful
Report PDF / Build PDF (push) Successful in 1m8s
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.
24 lines
515 B
Makefile
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)
|