Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate to rattler-build #10

Merged
merged 6 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
Expand Down
4 changes: 4 additions & 0 deletions .ci_support/linux_aarch64_.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
Expand Down
4 changes: 4 additions & 0 deletions .ci_support/linux_ppc64le_.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
Expand Down
4 changes: 4 additions & 0 deletions .ci_support/osx_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ MACOSX_DEPLOYMENT_TARGET:
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
- '10.13'
channel_sources:
- conda-forge
channel_targets:
Expand Down
4 changes: 4 additions & 0 deletions .ci_support/osx_arm64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ MACOSX_DEPLOYMENT_TARGET:
- '11.0'
MACOSX_SDK_VERSION:
- '11.0'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
- '11.0'
channel_sources:
- conda-forge
channel_targets:
Expand Down
2 changes: 2 additions & 0 deletions .ci_support/win_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
Expand Down
42 changes: 24 additions & 18 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 22 additions & 40 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 33 additions & 23 deletions .scripts/run_win_build.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ github:
branch_name: main
tooling_branch_name: main
test: native_and_emulated
conda_build_tool: rattler-build
conda_install_tool: pixi
44 changes: 44 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This file was generated automatically from conda-smithy. To update this configuration,
# update the conda-forge.yml and/or the recipe/meta.yaml.
# -*- mode: toml -*-

[project]
name = "k9s-feedstock"
version = "3.45.4"
description = "Pixi configuration for conda-forge/k9s-feedstock"
authors = ["@conda-forge/k9s"]
channels = ["conda-forge"]
platforms = ['linux-64', 'osx-64', 'win-64']

[dependencies]
conda-build = ">=24.1"
conda-forge-ci-setup = "4.*"
rattler-build = "*"

[tasks]
inspect-all = "inspect_artifacts --all-packages"
build = "rattler-build build --recipe recipe"
"build-linux_64_" = "rattler-build build --recipe recipe -m .ci_support/linux_64_.yaml"
"inspect-linux_64_" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_.yaml"
"build-linux_aarch64_" = "rattler-build build --recipe recipe -m .ci_support/linux_aarch64_.yaml"
"inspect-linux_aarch64_" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_aarch64_.yaml"
"build-linux_ppc64le_" = "rattler-build build --recipe recipe -m .ci_support/linux_ppc64le_.yaml"
"inspect-linux_ppc64le_" = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_ppc64le_.yaml"
"build-osx_64_" = "rattler-build build --recipe recipe -m .ci_support/osx_64_.yaml"
"inspect-osx_64_" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_.yaml"
"build-osx_arm64_" = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_.yaml"
"inspect-osx_arm64_" = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_.yaml"
"build-win_64_" = "rattler-build build --recipe recipe -m .ci_support/win_64_.yaml"
"inspect-win_64_" = "inspect_artifacts --recipe-dir recipe -m .ci_support/win_64_.yaml"

[feature.smithy.dependencies]
conda-smithy = "*"

[feature.smithy.tasks]
build-locally = "python ./build-locally.py"
smithy = "conda-smithy"
rerender = "conda-smithy rerender"
lint = "conda-smithy lint recipe"

[environments]
smithy = ["smithy"]
Loading