Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Nov 11, 2024
1 parent 68c85c9 commit b626e3f
Showing 1 changed file with 107 additions and 50 deletions.
157 changes: 107 additions & 50 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -242,19 +242,19 @@ tu-dominoes-fi = { cmd = """
tu-multi-pendulum = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target tutorial_multi-pendulum \
--target tutorial_multi_pendulum \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_multi-pendulum
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_multi_pendulum
""", depends_on = [
"config",
], env = { BUILD_TYPE = "Release" } }

tu-multi-pendulum-fi = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE \
--target tutorial_multi-pendulum_finished \
--target tutorial_multi_pendulum_finished \
--parallel \
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_multi-pendulum_finished
&& ./build/$PIXI_ENVIRONMENT_NAME/cpp/$BUILD_TYPE/bin/tutorial_multi_pendulum_finished
""", depends_on = [
"config",
], env = { BUILD_TYPE = "Release" } }
Expand All @@ -277,7 +277,15 @@ clang-format-14 = ">=14.0.6,<15"
freeglut = ">=3.2.2,<3.3"

[target.linux-64.tasks]
tracy = { cmd = "docker run --rm -d -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:rw --net=host tracy-profiler" }
tracy = { cmd = """
docker run \
--rm \
-d \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix:rw \
--net=host \
tracy-profiler
""" }

################################################################################
# osx-64
Expand Down Expand Up @@ -333,17 +341,27 @@ check-lint-py = { cmd = """

check-lint = { depends_on = ["check-lint-py"] }

build = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp --config $BUILD_TYPE -j", depends_on = [
"config",
], env = { BUILD_TYPE = "Release" } }
build = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
-j
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

build-tests = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp --config $BUILD_TYPE -j --target tests", depends_on = [
"config",
], env = { BUILD_TYPE = "Release" } }
build-tests = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
-j \
--target tests
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

build-dartpy = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp -j --target dartpy", depends_on = [
"config",
] }
build-dartpy = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
-j \
--target dartpy
""", depends_on = ["config"] }

test = { cmd = """
ctest \
Expand All @@ -353,58 +371,97 @@ test = { cmd = """
""", depends_on = ["build-tests"], env = { BUILD_TYPE = "Release" } }

test-dartpy = { cmd = """
cmake \
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
-j \
--config $BUILD_TYPE \
-j \
--target pytest
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

test-all = { cmd = """
cmake \
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
-j \
--config $BUILD_TYPE \
-j \
--target ALL
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-biped = { cmd = """
cmake \
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
--target tutorial_biped \
--parallel \
--config $BUILD_TYPE \
--target tutorial_biped \
--parallel \
&& build/$BUILD_TYPE/tutorial_biped.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-biped-fi = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp --config $BUILD_TYPE --target tutorial_biped_finished --parallel && build/$BUILD_TYPE/tutorial_biped_finished.exe", depends_on = [
"config",
], env = { BUILD_TYPE = "Release" } }
tu-biped-fi = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
--target tutorial_biped_finished \
--parallel \
&& build/$BUILD_TYPE/tutorial_biped.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-collisions = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp --config $BUILD_TYPE --target tutorial_collisions --parallel && build/$BUILD_TYPE/tutorial_collisions.exe", depends_on = [
"config",
], env = { BUILD_TYPE = "Release" } }
tu-collisions = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
--target tutorial_collisions \
--parallel \
&& build/$BUILD_TYPE/tutorial_collisions.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-collisions-fi = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp --config $BUILD_TYPE --target tutorial_collisions_finished --parallel && build/$BUILD_TYPE/tutorial_collisions_finished.exe", depends_on = [
"config",
], env = { BUILD_TYPE = "Release" } }
tu-collisions-fi = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
--target tutorial_collisions_finished \
--parallel \
&& build/$BUILD_TYPE/tutorial_collisions.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-dominoes = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp --config $BUILD_TYPE --target tutorial_dominoes --parallel && build/$BUILD_TYPE/tutorial_dominoes.exe", depends_on = [
"config",
], env = { BUILD_TYPE = "Release" } }
tu-dominoes = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
--target tutorial_dominoes \
--parallel \
&& build/$BUILD_TYPE/tutorial_dominoes.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-dominoes-fi = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp --config $BUILD_TYPE --target tutorial_dominoes_finished --parallel && build/$BUILD_TYPE/tutorial_dominoes_finished.exe", depends_on = [
"config",
], env = { BUILD_TYPE = "Release" } }
tu-dominoes-fi = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
--target tutorial_dominoes_finished \
--parallel \
&& build/$BUILD_TYPE/tutorial_dominoes.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-multi-pendulum = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp --config $BUILD_TYPE --target tutorial_multi_pendulum --parallel && build/$BUILD_TYPE/tutorial_multi_pendulum.exe", depends_on = [
"config",
], env = { BUILD_TYPE = "Release" } }
tu-multi-pendulum = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
--target tutorial_multi_pendulum \
--parallel \
&& build/$BUILD_TYPE/tutorial_multi_pendulum.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

tu-multi-pendulum-fi = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp --config $BUILD_TYPE --target tutorial_multi_pendulum_finished --parallel && build/$BUILD_TYPE/tutorial_multi_pendulum_finished.exe", depends_on = [
"config",
], env = { BUILD_TYPE = "Release" } }
tu-multi-pendulum-fi = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
--target tutorial_multi_pendulum_finished \
--parallel \
&& build/$BUILD_TYPE/tutorial_multi_pendulum.exe
""", depends_on = ["config"], env = { BUILD_TYPE = "Release" } }

install = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp --config $BUILD_TYPE -j --target install", depends_on = [
"build",
], env = { BUILD_TYPE = "Release" } }
install = { cmd = """
cmake \
--build build/$PIXI_ENVIRONMENT_NAME/cpp \
--config $BUILD_TYPE \
-j \
--target install
""", depends_on = ["build"], env = { BUILD_TYPE = "Release" } }

0 comments on commit b626e3f

Please sign in to comment.