Skip to content

Commit

Permalink
chore(ci): bump prefix-dev/rattler-build-action from 0.2.25 to 0.2.26 (
Browse files Browse the repository at this point in the history
…#100)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bas Zalmstra <[email protected]>
  • Loading branch information
dependabot[bot] and baszalmstra authored Jan 13, 2025
1 parent 7b5aa29 commit 9a3a233
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cpp-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v4
- name: Build conda package
uses: prefix-dev/[email protected].25
uses: prefix-dev/[email protected].26
with:
recipe-path: recipe/recipe.yaml
# needs to be unique for each matrix entry
Expand Down
126 changes: 63 additions & 63 deletions pixi.toml
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
[project]
name = "resolvo"
authors = ["Bas Zalmstra <[email protected]>"]
channels = ["conda-forge"]
platforms = ["linux-64", "win-64", "osx-arm64", "osx-64"]

[tasks]
format = {depends_on = ["format-rust", "format-cpp", "format-cmake"] }
test = {depends_on = ["test-rust", "test-cpp"] }

# ---- Build Rust using Cargo ----
[feature.build-rust.dependencies]
rust = "~=1.75.0"

[feature.test-rust.tasks.test-rust]
cmd = "cargo test"

[feature.test-rust.tasks.format-rust]
cmd = "cargo fmt"

[environments.test-rust]
features = ["build-rust", "test-rust"]
solve-group = "default"

# ---- Build C++ using CMake ----
[feature.build-cpp.dependencies]
cmake = ">=3.29.4,<3.30"
cxx-compiler = ">=1.7.0,<1.8"
ninja = ">=1.12.1,<1.13"

[feature.build-cpp.tasks.configure]
cmd = "cmake -GNinja -S . -B build -DRESOLVO_BUILD_TESTING=ON"
inputs = ["CMakeLists.txt"]
outputs = ["build/CMakeFiles/"]

[feature.build-cpp.tasks.build-cpp]
cmd = ["cmake", "--build", "build"]
depends-on = ["configure"]
inputs = ["CMakeLists.txt", "cpp/**/*", "src/**"]
outputs = ["build/bin/*"]

[feature.build-cpp.tasks.test-cpp]
cmd = "ctest --test-dir build"
depends_on = ["build-cpp"]

[environments.test-cpp]
features = ["build-cpp", "build-rust"]
solve-group = "default"

# ---- Format C++ ----
[feature.format-cpp.dependencies]
clang-format = ">=18.1.6,<18.2"
cmake-format = ">=0.6.13,<0.7"

[feature.format-cpp.tasks.format-cpp]
cmd = "clang-format -i cpp/include/*.h cpp/tests/*.cpp"

[feature.format-cpp.tasks.format-cmake]
cmd = "cmake-format -i CMakeLists.txt cpp/CMakeLists.txt cpp/tests/CMakeLists.txt"

[environments.format-cpp]
features=["format-cpp"]
solve-group="default"
[project]
name = "resolvo"
authors = ["Bas Zalmstra <[email protected]>"]
channels = ["conda-forge"]
platforms = ["linux-64", "win-64", "osx-arm64", "osx-64"]

[tasks]
format = {depends-on = ["format-rust", "format-cpp", "format-cmake"] }
test = {depends-on = ["test-rust", "test-cpp"] }

# ---- Build Rust using Cargo ----
[feature.build-rust.dependencies]
rust = "~=1.75.0"

[feature.test-rust.tasks.test-rust]
cmd = "cargo test"

[feature.test-rust.tasks.format-rust]
cmd = "cargo fmt"

[environments.test-rust]
features = ["build-rust", "test-rust"]
solve-group = "default"

# ---- Build C++ using CMake ----
[feature.build-cpp.dependencies]
cmake = ">=3.29.4,<3.30"
cxx-compiler = ">=1.7.0,<1.8"
ninja = ">=1.12.1,<1.13"

[feature.build-cpp.tasks.configure]
cmd = "cmake -GNinja -S . -B build -DRESOLVO_BUILD_TESTING=ON"
inputs = ["CMakeLists.txt"]
outputs = ["build/CMakeFiles/"]

[feature.build-cpp.tasks.build-cpp]
cmd = ["cmake", "--build", "build"]
depends-on = ["configure"]
inputs = ["CMakeLists.txt", "cpp/**/*", "src/**"]
outputs = ["build/bin/*"]

[feature.build-cpp.tasks.test-cpp]
cmd = "ctest --test-dir build"
depends-on = ["build-cpp"]

[environments.test-cpp]
features = ["build-cpp", "build-rust"]
solve-group = "default"

# ---- Format C++ ----
[feature.format-cpp.dependencies]
clang-format = ">=18.1.6,<18.2"
cmake-format = ">=0.6.13,<0.7"

[feature.format-cpp.tasks.format-cpp]
cmd = "clang-format -i cpp/include/*.h cpp/tests/*.cpp"

[feature.format-cpp.tasks.format-cmake]
cmd = "cmake-format -i CMakeLists.txt cpp/CMakeLists.txt cpp/tests/CMakeLists.txt"

[environments.format-cpp]
features=["format-cpp"]
solve-group="default"

0 comments on commit 9a3a233

Please sign in to comment.