-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
144 lines (102 loc) · 3.4 KB
/
Copy pathjustfile
File metadata and controls
144 lines (102 loc) · 3.4 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# Linux Dev Box via Tailscale + AWS EC2 + Mutagen; Mutagen is one-way sync from the local repo to remote.
ssh-linux target="linux":
@"$HOME/dev-machines/connect.sh" "{{ target }}" rscrypto
ssh-linux-arch arch:
@"$HOME/dev-machines/connect.sh" "{{ arch }}" rscrypto
ssh-create-linux-arch arch *args="":
@DEV_MACHINE_CREATE_VOLUME_SIZE_GB="${DEV_MACHINE_CREATE_VOLUME_SIZE_GB:-30}" "$HOME/dev-machines/create.sh" {{ args }} "{{ arch }}"
ssh-join-linux-arch arch:
@"$HOME/dev-machines/join-tailscale.sh" "{{ arch }}"
ssh-kill-linux target="linux":
@"$HOME/dev-machines/kill.sh" "{{ target }}" rscrypto
ssh-kill-linux-arch arch:
@"$HOME/dev-machines/kill.sh" "{{ arch }}" rscrypto
ssh-status:
@"$HOME/dev-machines/status.sh"
ssh-bootstrap-linux target="linux":
@"$HOME/dev-machines/bootstrap.sh" "{{ target }}" rscrypto
ssh-bootstrap-linux-arch arch:
@"$HOME/dev-machines/bootstrap.sh" "{{ arch }}" rscrypto
# Builds
build:
cargo build --workspace --all-targets --all-features
build-release:
cargo build --workspace --all-targets --all-features --release
# Checks
check *args="":
@scripts/check/check.sh {{ args }}
check-all *args="":
@scripts/check/check-all.sh {{ args }}
ci-check:
@scripts/ci/ci-check.sh
test-feature-matrix:
@scripts/test/test-feature-matrix.sh
# Tests
test *crates="":
@scripts/test/test.sh {{ crates }}
test-all:
@scripts/test/test.sh --all
test-miri *crates="":
@scripts/test/test-miri.sh {{ crates }}
test-rsa-leakage:
@scripts/test/test-rsa-leakage.sh
test-fuzz *args="":
@scripts/test/test-fuzz.sh {{ args }}
# Constant-Time (CT) Validation Engine
ct *args="":
@scripts/ct/artifacts.sh {{ args }}
@scripts/ct/validate.py {{ args }}
# Run DudeCT Timing Checks
ct-dudect *args="":
@scripts/ct/dudect.sh {{ args }}
# Build CT Artifacts; Run Timing Evidence; Emit CT Reports
ct-full *args="":
@scripts/ct/full.py {{ args }}
# Run BINSEC; Manifest-Declared Binary CT Kernels
ct-binsec *args="":
@scripts/ct/binsec.py {{ args }}
# Build CT Harness Artifacts
ct-artifacts *args="":
@scripts/ct/artifacts.sh {{ args }}
# Validate CT Manifest & Generated Artifacts
ct-validate *args="":
@scripts/ct/validate.py {{ args }}
# Coverage
# Total Coverage: nextest + fuzz corpus replay
test-coverage:
@scripts/test/test-coverage.sh
# Nextest LCOV
test-nextest-coverage:
@scripts/test/test-coverage.sh --nextest
# Fuzz-corpus replay LCOV
test-fuzz-coverage:
@scripts/test/test-coverage.sh --fuzz
# Benches
# Results land in benchmark_results/<YYYY-MM-DD>/<os>/<arch>/results.txt
bench *args="":
@scripts/bench/bench.sh {{ args }}
bench-quick *args="":
@scripts/bench/bench.sh --quick {{ args }}
# Maintenance
# Update Root/Fuzz Manifests & GHA Pins
update:
@scripts/update/update-all.sh
update-check:
@scripts/update/update-all.sh --check
# Refresh .github/actions-lock.yaml SHAs
pin-actions:
@scripts/ci/pin-actions.sh --update-lock
check-actions:
@scripts/ci/pin-actions.sh --verify-only
push *args="":
@scripts/ci/pre-push.sh --light
git push --no-verify {{ args }}
push-full *args="":
@scripts/ci/pre-push.sh --full
git push --no-verify {{ args }}
# Assets
# Regenerate README Perf SVG from benchmark_results/OVERVIEW.md.
chart:
@mkdir -p target
@rustc --edition 2024 -O scripts/render_perf_chart.rs -o target/render_perf_chart
@target/render_perf_chart