Repository navigation
Expand file tree
/
Copy pathci.toml
More file actions
81 lines (67 loc) · 1.94 KB
/
Copy pathci.toml
File metadata and controls
81 lines (67 loc) · 1.94 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
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# CI, build, and quality tasks
[build]
description = "Build the whole project"
depends = ["build:rust:workspace", "build:docker", "build:python:wheel"]
["build:rust"]
description = "Alias for build:rust:workspace"
depends = ["build:rust:workspace"]
hide = true
["build:rust:workspace"]
description = "Build all Rust crates"
run = "cargo build --workspace"
hide = true
["build:release"]
description = "Alias for build:rust:workspace:release"
depends = ["build:rust:workspace:release"]
hide = true
["build:rust:workspace:release"]
description = "Build all Rust crates in release mode"
run = "cargo build --workspace --release"
hide = true
["build:rust:snap"]
description = "Build release Rust binaries consumed by the hand-staged snap"
run = [
"cargo build --release -p openshell-cli",
"cargo build --release -p openshell-gateway --features bundled-z3",
"cargo build --release -p openshell-sandbox",
]
[check]
description = "Run fast compile and type checks"
depends = ["rust:check", "python:typecheck", "sdk:ts:typecheck"]
hide = true
[clean]
description = "Clean build artifacts"
run = "cargo clean"
[fmt]
description = "Format code"
depends = ["rust:format", "python:format", "markdown:format", "sdk:ts:format"]
hide = true
[lint]
description = "Run repository lint checks"
depends = [
"license:check",
"rust:format:check",
"rust:lockfiles:check",
"rust:lint",
"python:format:check",
"python:lint",
"helm:lint",
"helm:docs:check",
"markdown:lint",
"proto:lint",
"sdk:ts:lint",
]
hide = true
[ci]
description = "Run full checks (lint, compile/type checks, and tests)"
depends = ["lint", "check", "test", "go:ci", "rust:deny:policy"]
[all]
description = "Alias for ci"
depends = ["ci"]
hide = true
["pre-commit"]
description = "Run lint, formatting, and license checks"
depends = ["fmt", "lint"]
hide = true