BLD/DEV/CI: add and use Pixi package definitions - #202
Conversation
d4f4749 to
4fc6056
Compare
|
|
||
| add_library(xsf INTERFACE) | ||
| target_include_directories(xsf INTERFACE ${CMAKE_SOURCE_DIR}/include) | ||
|
|
There was a problem hiding this comment.
moved to the file in the repo root
494ab42 to
d8d2cae
Compare
22a7645 to
dbbd693
Compare
|
The cache miss is due to |
1475f9d to
41f4b67
Compare
|
@scipy/xsf-team I would greatly appreciate your input! The diff is a bit intimidating at the moment, but I'm mainly interested for now in whether this causes any problems for your current developer workflows. If you could check out this branch and try making some changes and running some tests, that would be great. The main change is that there are no The workspace is significantly simplified, with just the following tasks: ❯ pixi task list
Task Description
coverage Generate HTML coverage report.
format Format tracked C++ source and header files in place.
format-dry-error Check C++ formatting and fail if any file needs changes.
open-coverage Open HTML coverage report.
test-cupy Run CuPy integration tests.
tests Run test suite. |
|
I would also be keen to know if this breaks anything that someone has set up in their IDE. That might be true if the IDE features require the build dir to be contained in the root dir. |
|
@lucascolley Thanks for working on this infra, highly appreciated. One thing that would really improve the DX for me personally would be the possibility to invoke individual tests via |
towards gh-24
The rough idea:
buildtasks in our workspace become proper Pixi package definitions which produce anxsfpackage which can be depended on in a Pixi workspacexsffor which we build the tests, we now install the tests in the package undershare/xsf/tests/rather than leaving them in the build directoryxsfNext step: