Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
55 lines (40 loc) · 1.59 KB
/
Copy pathMakefile
File metadata and controls
55 lines (40 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
export PROJECT := tuxrun
export TUXPKG_MIN_COVERAGE := 85
export TUXPKG_FLAKE8_OPTIONS := --ignore=E203,E501,W503
check: typecheck test spellcheck stylecheck
include $(shell tuxpkg get-makefile)
.PHONY: tags
stylecheck: style flake8
spellcheck:
codespell \
-I codespell-ignore-list \
--check-filenames \
--skip '.git,public,dist,*.sw*,*.pyc,tags,*.json,.coverage,htmlcov,*.jinja2,*.yaml'
integration:
python3 test/integration.py --devices "qemu-*" --tests ltp-smoke
python3 test/integration.py --devices "fvp-aemva" --tests ltp-smoke
doc: docs/index.md
mkdocs build
docs/index.md: README.md scripts/readme2index.sh
scripts/readme2index.sh $@
doc-serve:
mkdocs serve
flit = flit
publish-pypi:
$(flit) publish
tags:
ctags -R $(PROJECT)/ test/
release: integration
rpm-sanity-check-prepare::
printf '[tuxlava]\nname=tuxlava\ntype=rpm-md\nbaseurl=https://tuxlava.org/packages/\ngpgcheck=1\ngpgkey=https://tuxlava.org/packages/repodata/repomd.xml.key\nenabled=1\n' > /etc/yum.repos.d/tuxlava.repo
pkg-sanity-check-prepare::
printf '[tuxlava]\nSigLevel = Never\nServer = https://tuxlava.org/packages/\n' > /etc/pacman.d/tuxlava.conf
printf '\nInclude = /etc/pacman.d/*.conf\n' >> /etc/pacman.conf
pacman -Sy
deb-sanity-check-prepare::
apt-get update
apt-get install -qy ca-certificates
/usr/lib/apt/apt-helper download-file https://tuxlava.org/packages/signing-key.gpg /etc/apt/trusted.gpg.d/tuxlava.gpg
echo 'deb https://tuxlava.org/packages/ ./' > /etc/apt/sources.list.d/tuxlava.list
echo 'deb http://deb.debian.org/debian trixie contrib' > /etc/apt/sources.list.d/contrib.list
apt-get update