diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index fd1b3b6..58e69e4 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -18,6 +18,8 @@ cxx_compiler_version: - '13' docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 +spdlog: +- '1.12' target_platform: - linux-64 zip_keys: diff --git a/.ci_support/linux_aarch64_.yaml b/.ci_support/linux_aarch64_.yaml index a2c0a25..f187dee 100644 --- a/.ci_support/linux_aarch64_.yaml +++ b/.ci_support/linux_aarch64_.yaml @@ -22,6 +22,8 @@ cxx_compiler_version: - '13' docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 +spdlog: +- '1.12' target_platform: - linux-aarch64 zip_keys: diff --git a/.ci_support/linux_ppc64le_.yaml b/.ci_support/linux_ppc64le_.yaml index d7c23c2..af54b53 100644 --- a/.ci_support/linux_ppc64le_.yaml +++ b/.ci_support/linux_ppc64le_.yaml @@ -18,6 +18,8 @@ cxx_compiler_version: - '13' docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 +spdlog: +- '1.12' target_platform: - linux-ppc64le zip_keys: diff --git a/.ci_support/osx_64_.yaml b/.ci_support/osx_64_.yaml index ebeac92..d2e3bea 100644 --- a/.ci_support/osx_64_.yaml +++ b/.ci_support/osx_64_.yaml @@ -20,6 +20,8 @@ cxx_compiler_version: - '17' macos_machine: - x86_64-apple-darwin13.4.0 +spdlog: +- '1.12' target_platform: - osx-64 zip_keys: diff --git a/.ci_support/osx_arm64_.yaml b/.ci_support/osx_arm64_.yaml index 0a445c6..f761cf9 100644 --- a/.ci_support/osx_arm64_.yaml +++ b/.ci_support/osx_arm64_.yaml @@ -20,6 +20,8 @@ cxx_compiler_version: - '17' macos_machine: - arm64-apple-darwin20.0.0 +spdlog: +- '1.12' target_platform: - osx-arm64 zip_keys: diff --git a/.ci_support/win_64_.yaml b/.ci_support/win_64_.yaml index d1d2b41..878aa25 100644 --- a/.ci_support/win_64_.yaml +++ b/.ci_support/win_64_.yaml @@ -8,5 +8,7 @@ channel_targets: - conda-forge main cxx_compiler: - vs2019 +spdlog: +- '1.12' target_platform: - win-64 diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 3acf02e..d1b0abe 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -21,7 +21,7 @@ source: - do_not_check_failed_test_output_value.patch # [linux] build: - number: 0 + number: 1 outputs: - name: {{ cxx_name }} @@ -41,18 +41,26 @@ outputs: host: - libgz-cmake4 - cli11 + - spdlog run: - cli11 test: commands: - test -f ${PREFIX}/include/gz/{{ component_version }}/gz/{{ component_name }}.hh # [not win] - - test -f ${PREFIX}/lib/lib{{ name }}.so # [linux] - - test -f ${PREFIX}/lib/lib{{ name }}.dylib # [osx] + - test -f ${PREFIX}/lib/lib{{ name }}$SHLIB_EXT # [not win] + - test -f ${PREFIX}/lib/lib{{ name }}-log$SHLIB_EXT # [not win] - test -f ${PREFIX}/lib/cmake/{{ name }}/{{ name }}-config.cmake # [not win] - if not exist %PREFIX%\\Library\\include\\gz\\{{ component_version }}\\gz\\{{ component_name }}.hh exit 1 # [win] - if not exist %PREFIX%\\Library\\lib\\{{ name }}.lib exit 1 # [win] - if not exist %PREFIX%\\Library\\bin\\{{ name }}.dll exit 1 # [win] - if not exist %PREFIX%\\Library\\lib\\cmake\\{{ name }}\\{{ name }}-config.cmake exit 1 # [win] + - if not exist %PREFIX%\\Library\\lib\\{{ name }}-log.lib exit 1 # [win] + - if not exist %PREFIX%\\Library\\bin\\{{ name }}-log.dll exit 1 # [win] + - cmake-package-check gz-utils3 --targets gz-utils3::gz-utils3 + requires: + - cmake-package-check + - {{ compiler('c') }} + - {{ compiler('cxx') }} - name: {{ name }} build: