-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpixi.toml
More file actions
89 lines (76 loc) · 3.29 KB
/
pixi.toml
File metadata and controls
89 lines (76 loc) · 3.29 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
[workspace]
name = "rdc-cli"
channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]
[dependencies]
python = "3.14.*"
uv = ">=0.5"
[target.osx-64.dependencies]
cmake = ">=3.26,<4"
ninja = ">=1.11,<2"
autoconf = ">=2.71,<3"
automake = ">=1.16,<2"
libtool = ">=2.4,<3"
pkg-config = ">=0.29,<1"
m4 = ">=1.4,<2"
[target.osx-arm64.dependencies]
cmake = ">=3.26,<4"
ninja = ">=1.11,<2"
autoconf = ">=2.71,<3"
automake = ">=1.16,<2"
libtool = ">=2.4,<3"
pkg-config = ">=0.29,<1"
m4 = ">=1.4,<2"
[target.win-64.dependencies]
cmake = ">=3.26,<4"
[target.linux-64.dependencies]
cmake = ">=3.26,<4"
ninja = ">=1.11,<2"
libxml2 = ">=2.12,<3"
[feature.vulkan.target.osx-64.dependencies]
libvulkan-headers = ">=1.3"
libvulkan-loader = ">=1.3"
[feature.vulkan.target.osx-arm64.dependencies]
libvulkan-headers = ">=1.3"
libvulkan-loader = ">=1.3"
[feature.vulkan.target.win-64.dependencies]
libvulkan-headers = ">=1.3"
libvulkan-loader = ">=1.3"
[feature.vulkan.target.linux-64.dependencies]
libvulkan-headers = ">=1.3"
libvulkan-loader = ">=1.3"
[feature.android.activation.env]
PATH = ".local/android-platform-tools/platform-tools:${PATH}"
[environments]
vulkan = { features = ["vulkan"], solve-group = "default" }
android = { features = ["android"], solve-group = "default" }
[activation.env]
RENDERDOC_PYTHON_PATH = ".local/renderdoc"
PYTHONPATH = "src"
[tasks]
rdc = "uv run rdc"
sync = "uv sync --extra dev && git config core.hooksPath .githooks && python scripts/ensure-renderdoc.py && python scripts/ensure-skill-link.py"
install = "uv run python scripts/dev_install.py"
setup-renderdoc = "python scripts/build_renderdoc.py .local/renderdoc --build-dir .local/renderdoc-build"
lint = "uv run ruff check src tests && uv run ruff format --check src tests"
typecheck = "uv run mypy src"
test = "uv run pytest tests/unit -v --cov=rdc --cov-report=term-missing --cov-fail-under=80"
test-gpu = "uv run pytest tests -v -m gpu --no-header"
test-all = "uv run pytest tests -v --cov=rdc --cov-report=term-missing"
check = "pixi run lint && pixi run typecheck && pixi run test"
gen-skill-ref = "uv run python scripts/gen_and_check.py gen scripts/gen-skill-ref.py src/rdc/_skills/references/commands-quick-ref.md"
check-skill-ref = "uv run python scripts/gen_and_check.py check scripts/gen-skill-ref.py src/rdc/_skills/references/commands-quick-ref.md"
gen-replay = "uv run python scripts/gen_and_check.py gen scripts/gen-replay.py docs-astro/src/data/replay.json"
check-replay = "uv run python scripts/gen_and_check.py check scripts/gen-replay.py docs-astro/src/data/replay.json"
gen-commands = "uv run python scripts/gen_and_check.py gen scripts/gen-commands.py docs-astro/src/data/commands.json"
check-commands = "uv run python scripts/gen_and_check.py check scripts/gen-commands.py docs-astro/src/data/commands.json"
verify = "uv run python scripts/verify_package.py"
e2e = "python scripts/e2e_test.py"
test-e2e = "uv run pytest tests/e2e -v -m gpu --no-header"
test-e2e-full = "uv run pytest tests/e2e -v -m 'gpu or vulkan_samples' --no-header"
setup-vulkan-samples = "python scripts/setup_vulkan_samples.py"
setup-android = "python scripts/setup_android_tools.py"
docs-install = "npm --prefix docs-astro ci"
docs-build = "npm --prefix docs-astro run build"
docs-test = "npm --prefix docs-astro test"
docs-dev = "npm --prefix docs-astro run dev"