-
Notifications
You must be signed in to change notification settings - Fork 267
Expand file tree
/
Copy pathpixi.toml
More file actions
86 lines (73 loc) · 1.92 KB
/
pixi.toml
File metadata and controls
86 lines (73 loc) · 1.92 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
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
[workspace]
channels = ["conda-forge"]
platforms = ["linux-64", "linux-aarch64", "win-64"]
[feature.cu12.dependencies]
[feature.cu13.dependencies]
[environments]
cu12 = { features = ["cu12"] }
cu13 = { features = ["cu13"] }
docs = { features = [], solve-group = "docs" }
[activation.env]
PIXI_ENVIRONMENT_NAME = "${PIXI_ENVIRONMENT_NAME/default/cu13}"
# Test Tasks
# Runs tests across all sub-packages: pathfinder → bindings → core (dependency order)
# Each sub-package has its own pixi.toml; the -e environment propagates via PIXI_ENVIRONMENT_NAME
#
# Usage: pixi run test | pixi run -e cu12 test | pixi run -e cu13 test
[target.linux.tasks.test-pathfinder]
cmd = [
"pixi",
"run",
"--manifest-path",
"$PIXI_PROJECT_ROOT/cuda_pathfinder",
"test",
]
[target.linux.tasks.test-bindings]
cmd = [
"pixi",
"run",
"--manifest-path",
"$PIXI_PROJECT_ROOT/cuda_bindings",
"test",
]
[target.linux.tasks.test-core]
cmd = ["pixi", "run", "--manifest-path", "$PIXI_PROJECT_ROOT/cuda_core", "test"]
[target.linux.tasks.test]
depends-on = [
{ task = "test-pathfinder" },
{ task = "test-bindings" },
{ task = "test-core" },
]
[target.linux.tasks.docs-pathfinder]
cmd = [
"pixi",
"run",
"--manifest-path",
"$PIXI_PROJECT_ROOT/cuda_pathfinder",
"-e",
"docs",
"build-docs",
]
[target.linux.tasks.docs-bindings]
cmd = [
"pixi",
"run",
"--manifest-path",
"$PIXI_PROJECT_ROOT/cuda_bindings",
"-e",
"docs",
"build-docs",
]
[target.linux.tasks.docs-core]
cmd = ["pixi", "run", "--manifest-path", "$PIXI_PROJECT_ROOT/cuda_core", "-e", "docs", "docs-build"]
[target.linux.tasks.docs]
depends-on = [
{ task = "docs-pathfinder" },
{ task = "docs-bindings" },
{ task = "docs-core" },
]
[dependencies]
ruff = ">=0.15.3,<0.16"