From 94a7e57c609c9e439b8063feb587c3fc27f67c41 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 27 Mar 2024 00:13:20 -0400 Subject: [PATCH] ci: try different command on Windows Signed-off-by: Henry Schreiner --- pixi.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pixi.toml b/pixi.toml index 898a1bb..1fa07f0 100644 --- a/pixi.toml +++ b/pixi.toml @@ -33,6 +33,18 @@ cmd = [ inputs = ["CMakeLists.txt"] outputs = ["build/CMakeFiles/"] +[target.win-64.tasks.configure] +cmd = [ + "cmake", + "-GNinja", + "-S.", + "-Bbuild", + "-Dgtest_force_shared_crt=ON", + "-DDOWNLOAD_GTEST=ON", + "-DCMAKE_INSTALL_LIBDIR=Library", + "-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX", +] + [feature.build.tasks.build] cmd = ["cmake", "--build", "build"] depends_on = ["configure"]