diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml
index e309e4b..95d5559 100755
--- a/.azure-pipelines/azure-pipelines-linux.yml
+++ b/.azure-pipelines/azure-pipelines-linux.yml
@@ -12,22 +12,42 @@ jobs:
CONFIG: linux_ppc64le_python3.10.____cpython
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le:alma9
+ docker_run_args: ''
+ build_workspace_dir: build_artifacts
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
linux_ppc64le_python3.11.____cpython:
CONFIG: linux_ppc64le_python3.11.____cpython
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le:alma9
+ docker_run_args: ''
+ build_workspace_dir: build_artifacts
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
linux_ppc64le_python3.12.____cpython:
CONFIG: linux_ppc64le_python3.12.____cpython
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le:alma9
+ docker_run_args: ''
+ build_workspace_dir: build_artifacts
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
linux_ppc64le_python3.13.____cp313:
CONFIG: linux_ppc64le_python3.13.____cp313
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le:alma9
+ docker_run_args: ''
+ build_workspace_dir: build_artifacts
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
linux_ppc64le_python3.14.____cp314:
CONFIG: linux_ppc64le_python3.14.____cp314
UPLOAD_PACKAGES: 'True'
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le:alma9
+ docker_run_args: ''
+ build_workspace_dir: build_artifacts
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
timeoutInMinutes: 360
variables: {}
@@ -41,6 +61,9 @@ jobs:
displayName: Configure binfmt_misc
- script: |
+ export MINIFORGE_HOME=$(tools_install_dir)
+ export CONDA_BLD_PATH=$(build_workspace_dir)
+ export CONDA_FORGE_DOCKER_RUN_ARGS="$(docker_run_args)"
export CI=azure
export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt)
export remote_url=$(Build.Repository.Uri)
diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml
index 8bd74f0..9b517fc 100755
--- a/.azure-pipelines/azure-pipelines-osx.yml
+++ b/.azure-pipelines/azure-pipelines-osx.yml
@@ -12,48 +12,80 @@ jobs:
CONFIG: osx_64_python3.10.____cpython
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
+ build_workspace_dir: ~/miniforge3/conda-bld
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
osx_64_python3.11.____cpython:
CONFIG: osx_64_python3.11.____cpython
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
+ build_workspace_dir: ~/miniforge3/conda-bld
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
osx_64_python3.12.____cpython:
CONFIG: osx_64_python3.12.____cpython
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
+ build_workspace_dir: ~/miniforge3/conda-bld
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
osx_64_python3.13.____cp313:
CONFIG: osx_64_python3.13.____cp313
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
+ build_workspace_dir: ~/miniforge3/conda-bld
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
osx_64_python3.14.____cp314:
CONFIG: osx_64_python3.14.____cp314
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
+ build_workspace_dir: ~/miniforge3/conda-bld
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
osx_arm64_python3.10.____cpython:
CONFIG: osx_arm64_python3.10.____cpython
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
+ build_workspace_dir: ~/miniforge3/conda-bld
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
osx_arm64_python3.11.____cpython:
CONFIG: osx_arm64_python3.11.____cpython
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
+ build_workspace_dir: ~/miniforge3/conda-bld
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
osx_arm64_python3.12.____cpython:
CONFIG: osx_arm64_python3.12.____cpython
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
+ build_workspace_dir: ~/miniforge3/conda-bld
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
osx_arm64_python3.13.____cp313:
CONFIG: osx_arm64_python3.13.____cp313
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
+ build_workspace_dir: ~/miniforge3/conda-bld
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
osx_arm64_python3.14.____cp314:
CONFIG: osx_arm64_python3.14.____cp314
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
+ build_workspace_dir: ~/miniforge3/conda-bld
+ store_build_artifacts: false
+ tools_install_dir: ~/miniforge3
timeoutInMinutes: 360
variables: {}
steps:
# TODO: Fast finish on azure pipelines?
- script: |
+ export MINIFORGE_HOME=$(tools_install_dir)
+ export CONDA_BLD_PATH=$(build_workspace_dir)
export CI=azure
export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt)
export remote_url=$(Build.Repository.Uri)
diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml
index 2adcb90..f90412c 100755
--- a/.azure-pipelines/azure-pipelines-win.yml
+++ b/.azure-pipelines/azure-pipelines-win.yml
@@ -11,22 +11,35 @@ jobs:
win_64_python3.10.____cpython:
CONFIG: win_64_python3.10.____cpython
UPLOAD_PACKAGES: 'True'
+ build_workspace_dir: D:\\bld\\
+ store_build_artifacts: false
+ tools_install_dir: D:\Miniforge
win_64_python3.11.____cpython:
CONFIG: win_64_python3.11.____cpython
UPLOAD_PACKAGES: 'True'
+ build_workspace_dir: D:\\bld\\
+ store_build_artifacts: false
+ tools_install_dir: D:\Miniforge
win_64_python3.12.____cpython:
CONFIG: win_64_python3.12.____cpython
UPLOAD_PACKAGES: 'True'
+ build_workspace_dir: D:\\bld\\
+ store_build_artifacts: false
+ tools_install_dir: D:\Miniforge
win_64_python3.13.____cp313:
CONFIG: win_64_python3.13.____cp313
UPLOAD_PACKAGES: 'True'
+ build_workspace_dir: D:\\bld\\
+ store_build_artifacts: false
+ tools_install_dir: D:\Miniforge
win_64_python3.14.____cp314:
CONFIG: win_64_python3.14.____cp314
UPLOAD_PACKAGES: 'True'
+ build_workspace_dir: D:\\bld\\
+ store_build_artifacts: false
+ tools_install_dir: D:\Miniforge
timeoutInMinutes: 360
variables:
- CONDA_BLD_PATH: D:\\bld\\
- MINIFORGE_HOME: D:\Miniforge
UPLOAD_TEMP: D:\\tmp
steps:
@@ -35,8 +48,8 @@ jobs:
call ".scripts\run_win_build.bat"
displayName: Run Windows build
env:
- MINIFORGE_HOME: $(MINIFORGE_HOME)
- CONDA_BLD_PATH: $(CONDA_BLD_PATH)
+ MINIFORGE_HOME: $(tools_install_dir)
+ CONDA_BLD_PATH: $(build_workspace_dir)
PYTHONUNBUFFERED: 1
CONFIG: $(CONFIG)
CI: azure
diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml
index 7f28c8a..c264d06 100644
--- a/.github/workflows/conda-build.yml
+++ b/.github/workflows/conda-build.yml
@@ -23,55 +23,95 @@ jobs:
matrix:
include:
- CONFIG: linux_64_python3.10.____cpython
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
+ build_workspace_dir: build_artifacts
+ docker_run_args:
- CONFIG: linux_64_python3.11.____cpython
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
+ build_workspace_dir: build_artifacts
+ docker_run_args:
- CONFIG: linux_64_python3.12.____cpython
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
+ build_workspace_dir: build_artifacts
+ docker_run_args:
- CONFIG: linux_64_python3.13.____cp313
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
+ build_workspace_dir: build_artifacts
+ docker_run_args:
- CONFIG: linux_64_python3.14.____cp314
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
+ build_workspace_dir: build_artifacts
+ docker_run_args:
- CONFIG: linux_aarch64_python3.10.____cpython
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
+ build_workspace_dir: build_artifacts
+ docker_run_args:
- CONFIG: linux_aarch64_python3.11.____cpython
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
+ build_workspace_dir: build_artifacts
+ docker_run_args:
- CONFIG: linux_aarch64_python3.12.____cpython
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
+ build_workspace_dir: build_artifacts
+ docker_run_args:
- CONFIG: linux_aarch64_python3.13.____cp313
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
+ build_workspace_dir: build_artifacts
+ docker_run_args:
- CONFIG: linux_aarch64_python3.14.____cp314
+ STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
+ tools_install_dir: ~/miniforge3
+ build_workspace_dir: build_artifacts
+ docker_run_args:
steps:
- name: Checkout code
@@ -81,11 +121,13 @@ jobs:
id: build-linux
if: matrix.os == 'ubuntu'
env:
+ MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
+ CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CONFIG: ${{ matrix.CONFIG }}
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
CI: github_actions
- CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
+ CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.docker_run_args }}"
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
@@ -105,6 +147,8 @@ jobs:
else
export IS_PR_BUILD="False"
fi
+ export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
+ export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
echo "::endgroup::"
./.scripts/run_docker_build.sh
@@ -112,6 +156,8 @@ jobs:
id: build-macos
if: matrix.os == 'macos'
env:
+ MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
+ CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CONFIG: ${{ matrix.CONFIG }}
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
CI: github_actions
@@ -130,6 +176,8 @@ jobs:
else
export IS_PR_BUILD="False"
fi
+ export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
+ export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
./.scripts/run_osx_build.sh
- name: Build on windows
@@ -142,10 +190,8 @@ jobs:
set "sha=%GITHUB_SHA%"
call ".scripts\run_win_build.bat"
env:
- # default value; make it explicit, as it needs to match with artefact
- # generation below. Not configurable for now, can be revisited later
- CONDA_BLD_DIR: C:\bld
- MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
+ MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
+ CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
PYTHONUNBUFFERED: 1
CONFIG: ${{ matrix.CONFIG }}
CI: github_actions
diff --git a/.gitignore b/.gitignore
index 47b5408..86a9c55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@
# Ignore all files and folders in root
*
!/conda-forge.yml
+!.recipe_maintainers.json
# Don't ignore any files/folders if the parent folder is 'un-ignored'
# This also avoids warnings when adding an already-checked file with an ignored parent.
diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh
index b5ef46f..405a786 100755
--- a/.scripts/build_steps.sh
+++ b/.scripts/build_steps.sh
@@ -36,7 +36,7 @@ mv /opt/conda/conda-meta/history /opt/conda/conda-meta/history.$(date +%Y-%m-%d-
echo > /opt/conda/conda-meta/history
micromamba install --root-prefix ~/.conda --prefix /opt/conda \
--yes --override-channels --channel conda-forge --strict-channel-priority \
- pip rattler-build conda-forge-ci-setup=4 "conda-build>=24.1"
+ pip rattler-build conda-forge-ci-setup=4 "conda-build>=26.3"
export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1
# set up the condarc
diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh
index 6a9653c..81fe0ca 100755
--- a/.scripts/run_osx_build.sh
+++ b/.scripts/run_osx_build.sh
@@ -26,7 +26,7 @@ chmod +x "${micromamba_exe}"
echo "Creating environment"
"${micromamba_exe}" create --yes --root-prefix "${MAMBA_ROOT_PREFIX}" --prefix "${MINIFORGE_HOME}" \
--channel conda-forge \
- pip rattler-build conda-forge-ci-setup=4 "conda-build>=24.1"
+ pip rattler-build conda-forge-ci-setup=4 "conda-build>=26.3"
echo "Moving pkgs cache from ${MAMBA_ROOT_PREFIX} to ${MINIFORGE_HOME}"
mv "${MAMBA_ROOT_PREFIX}/pkgs" "${MINIFORGE_HOME}"
echo "Cleaning up micromamba"
@@ -73,7 +73,7 @@ if [[ "${OSX_SDK_DIR:-}" == "" ]]; then
/usr/bin/sudo chown "${USER}" "${OSX_SDK_DIR}"
fi
else
- if tmpf=$(mktemp -p "$OSX_SDK_DIR" tmp.XXXXXXXX 2>/dev/null); then
+ if tmpf=$(mktemp "$OSX_SDK_DIR"/tmp.XXXXXXXX 2>/dev/null); then
rm -f "$tmpf"
echo "OSX_SDK_DIR is writeable without sudo, continuing"
else
diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat
index 45938bb..8d64121 100755
--- a/.scripts/run_win_build.bat
+++ b/.scripts/run_win_build.bat
@@ -31,7 +31,7 @@ if !errorlevel! neq 0 exit /b !errorlevel!
echo Creating environment
call "%MICROMAMBA_EXE%" create --yes --root-prefix "%MAMBA_ROOT_PREFIX%" --prefix "%MINIFORGE_HOME%" ^
--channel conda-forge ^
- pip rattler-build conda-forge-ci-setup=4 "conda-build>=24.1"
+ pip rattler-build conda-forge-ci-setup=4 "conda-build>=26.3"
if !errorlevel! neq 0 exit /b !errorlevel!
echo Removing %MAMBA_ROOT_PREFIX%
del /S /Q "%MAMBA_ROOT_PREFIX%" >nul
diff --git a/README.md b/README.md
index 6d6bb37..71a9713 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,14 @@ Current build status
====================
-
+
+ | GitHub Actions |
+
+
+
+
+ |
+
| Azure |
@@ -35,76 +42,6 @@ Current build status
| Variant | Status |
- | linux_64_python3.10.____cpython |
-
-
-
-
- |
-
- | linux_64_python3.11.____cpython |
-
-
-
-
- |
-
- | linux_64_python3.12.____cpython |
-
-
-
-
- |
-
- | linux_64_python3.13.____cp313 |
-
-
-
-
- |
-
- | linux_64_python3.14.____cp314 |
-
-
-
-
- |
-
- | linux_aarch64_python3.10.____cpython |
-
-
-
-
- |
-
- | linux_aarch64_python3.11.____cpython |
-
-
-
-
- |
-
- | linux_aarch64_python3.12.____cpython |
-
-
-
-
- |
-
- | linux_aarch64_python3.13.____cp313 |
-
-
-
-
- |
-
- | linux_aarch64_python3.14.____cp314 |
-
-
-
-
- |
-
| linux_ppc64le_python3.10.____cpython |
@@ -174,41 +111,6 @@ Current build status
|
-
- | osx_arm64_python3.10.____cpython |
-
-
-
-
- |
-
- | osx_arm64_python3.11.____cpython |
-
-
-
-
- |
-
- | osx_arm64_python3.12.____cpython |
-
-
-
-
- |
-
- | osx_arm64_python3.13.____cp313 |
-
-
-
-
- |
-
- | osx_arm64_python3.14.____cp314 |
-
-
-
-
- |
| win_64_python3.10.____cpython |
diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml
index 8d908d0..a1d6577 100644
--- a/recipe/recipe.yaml
+++ b/recipe/recipe.yaml
@@ -1,6 +1,6 @@
context:
name: cppcheck
- version: "2.20.1"
+ version: "2.21.0"
package:
name: ${{ name|lower }}
@@ -8,7 +8,7 @@ package:
source:
url: https://github.com/danmar/cppcheck/archive/${{ version }}.tar.gz
- sha256: 97634b598b8adf23e6cbd75aec5a8ac2d8b5f49f53e6a145b1c8380525c48a91
+ sha256: f028ff75ca5372738f3737c8b3e8611426a6526b6aea2ef01301ab0f5902f044
build:
number: 0
@@ -51,8 +51,8 @@ about:
license: GPL-3.0-or-later
license_file: COPYING
summary: A static analysis tool for C/C++ code.
- homepage: http://cppcheck.sourceforge.net/
- repository: https://github.com/danmar/cppcheck
+ homepage: http://cppcheck.sourceforge.io/
+ repository: https://github.com/cppcheck-opensource/cppcheck
extra:
recipe-maintainers:
|