Skip to content

Commit

Permalink
wip: create pixi toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-p committed Mar 20, 2024
1 parent ca8d32a commit eb5faa7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pixi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ jobs:
# Pixi is the tool used to create/manage conda environment
- uses: prefix-dev/[email protected]
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
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ CMakeSettings.json

# OSX junk
.DS_Store
# pixi environments
.pixi

24 changes: 24 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
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.*"

0 comments on commit eb5faa7

Please sign in to comment.