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

tomlplusplus: add version 3.3.0, fix msvc version check #15547

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

toge
Copy link
Contributor

@toge toge commented Jan 30, 2023

Specify library name and version: tomlplusplus/3.3.0

  • add version 3.3.0
  • fix msvc version check
  • use add_subdirectory in test_v1_package

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 1 (b9f52df09bcc0b921227e1131bf31839dbbffe05):

  • tomlplusplus/3.2.0@:
    All packages built successfully! (All logs)

  • tomlplusplus/2.5.0@:
    All packages built successfully! (All logs)

  • tomlplusplus/3.1.0@:
    All packages built successfully! (All logs)

  • tomlplusplus/1.3.3@:
    All packages built successfully! (All logs)

  • tomlplusplus/3.0.1@:
    All packages built successfully! (All logs)

  • tomlplusplus/3.3.0@:
    All packages built successfully! (All logs)


Conan v2 pipeline (informative, not required for merge) ❌

Note: Conan v2 builds are informative and they are not required for the PR to be merged.

The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future.

See details:

Failure in build 1 (b9f52df09bcc0b921227e1131bf31839dbbffe05):

  • tomlplusplus/1.3.3@:
    Didn't run or was cancelled before finishing

  • tomlplusplus/3.3.0@:
    Didn't run or was cancelled before finishing

  • tomlplusplus/2.5.0@:
    Didn't run or was cancelled before finishing

  • tomlplusplus/3.1.0@:
    CI failed to create some packages (All logs)

    Logs for packageID da39a3ee5e6b4b0d3255bfef95601890afd80709:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    
    [...]
    compiler.version=11
    os=Linux
    [conf]
    tools.system.package_manager:mode=install
    tools.system.package_manager:sudo=True
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [conf]
    tools.system.package_manager:mode=install
    tools.system.package_manager:sudo=True
    
    
    -------- test_package: Computing dependency graph --------
    Graph root
        tomlplusplus/3.1.0 (test package): /home/conan/w/prod-v2/BuildSingleReference/conan-center-index/recipes/tomlplusplus/all/test_package/conanfile.py
    Requirements
        tomlplusplus/3.1.0#3f1f7f96f78bc3cdc7680a693cca3530 - Cache
    
    -------- test_package: Computing necessary packages --------
    
    -------- Computing necessary packages --------
    Requirements
        tomlplusplus/3.1.0#3f1f7f96f78bc3cdc7680a693cca3530:da39a3ee5e6b4b0d3255bfef95601890afd80709#33f49215566ecc41c64c35f7bdc37529 - Cache
    
    -------- test_package: Installing packages --------
    
    -------- Installing (downloading, building) binaries... --------
    tomlplusplus/3.1.0: Already installed!
    
    -------- Testing the package --------
    tomlplusplus/3.1.0 (test package): Writing generators to /home/conan/w/prod-v2/BuildSingleReference/conan-center-index/recipes/tomlplusplus/all/test_package/test_output/build/Release/generators
    tomlplusplus/3.1.0 (test package): Generator 'CMakeToolchain' calling 'generate()'
    tomlplusplus/3.1.0 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release'
    tomlplusplus/3.1.0 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod-v2/BuildSingleReference/conan-center-index/recipes/tomlplusplus/all/test_package/test_output/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
    tomlplusplus/3.1.0 (test package): Generator 'CMakeDeps' calling 'generate()'
    tomlplusplus/3.1.0 (test package): Generator 'VirtualRunEnv' calling 'generate()'
    tomlplusplus/3.1.0 (test package): Aggregating env generators
    
    -------- Testing the package: Building --------
    tomlplusplus/3.1.0 (test package): Calling build()
    ERROR: tomlplusplus/3.1.0 (test package): Error in build() method, line 21
    	if Version(self.deps_cpp_info["tomlplusplus"].version) < "1.3.0":
    	AttributeError: 'TestPackageConan' object has no attribute 'deps_cpp_info'
    
  • tomlplusplus/3.2.0@:
    Didn't run or was cancelled before finishing

  • tomlplusplus/3.0.1@:
    Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@conan-center-bot conan-center-bot merged commit 9bf1e8e into conan-io:master Jan 30, 2023
StellaSmith pushed a commit to StellaSmith/conan-center-index that referenced this pull request Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants