diff --git a/.github/workflows/pixi.yaml b/.github/workflows/pixi.yaml index ac61b41f0..71f0b7ba3 100644 --- a/.github/workflows/pixi.yaml +++ b/.github/workflows/pixi.yaml @@ -23,11 +23,7 @@ jobs: # Pixi is the tool used to create/manage conda environment - uses: prefix-dev/setup-pixi@v0.4.1 with: - pixi-version: v0.7.0 - locked: false - frozen: false - run-install: false - manifest-path: build-env/pixi.yaml + pixi-version: v0.16.1 - name: Make pixi workspace run: | pixi init build-env diff --git a/.gitignore b/.gitignore index 79bec0c7a..98b743bd2 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,6 @@ CMakeSettings.json # OSX junk .DS_Store +# pixi environments +.pixi + diff --git a/pixi.toml b/pixi.toml new file mode 100644 index 000000000..e29bfb471 --- /dev/null +++ b/pixi.toml @@ -0,0 +1,24 @@ +[project] +name = "BehaviorTree.CPP" +version = "4.5.2" +description = "This C++ 17 library provides a framework to create BehaviorTrees" +authors = ["Tony Paulussen "] +channels = ["conda-forge"] +platforms = ["linux-64", "win-64"] + +[target.win-64.tasks] +test = "'PATH=\"$PATH;build/Release\" build/tests/Release/behaviortree_cpp_test.exe'" + +[target.linux-64.tasks] +test = "./build/tests/behaviortree_cpp_test" + +[tasks] +build = "cd build; cmake ../BehaviorTree.CPP -DCMAKE_BUILD_TYPE=Release; cmake --build . --parallel --config Release" + +[dependencies] + +[target.win-64.dependencies] +vs2022_win-64 = "19.*" + +[target.linux-64.dependencies] +gxx = "12.2.*" \ No newline at end of file