diff --git a/pixi.toml b/pixi.toml index 6eaf1c3873a0f..7e85ebca01ce6 100644 --- a/pixi.toml +++ b/pixi.toml @@ -242,9 +242,9 @@ 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" } } @@ -252,9 +252,9 @@ tu-multi-pendulum = { cmd = """ 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" } } @@ -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 @@ -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 \ @@ -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" } }