1. 13 Sep, 2024 2 commits
  2. 22 Aug, 2024 1 commit
  3. 17 Jul, 2024 1 commit
  4. 26 Jan, 2024 1 commit
  5. 23 Oct, 2023 1 commit
  6. 22 Oct, 2023 1 commit
  7. 12 Oct, 2023 1 commit
    • Pierre Wendling's avatar
      CMake: Fixes for generated config (#1212) · c26e0472
      Pierre Wendling authored
      
      
      * CMake: Add option to set the package install dir.
      
      * CMake: Fix generated config.
      
      - `YAML_CPP_SHARED_LIBS_BUILT` should not be set with a `PATH_VAR` as it
      would always evaluate to true.
      - `YAML_CPP_LIBRARIES` should used the exported target name including
      the namespace, but `check_required_components` shouldn't.
      - Use `CMAKE_CURRENT_LIST_DIR` to find the target file, instead of a
      `PATH_VAR`. Package managers such as vcpkg move CMake configs after
      installing.
      
      * CI: Test the generated CMake package.
      
      * CMake: Create add a deprecated yaml-cpp target.
      
      This target is meant to provide compatibility with versions prior to
      0.8.0.
      
      * CMake: mark the yaml-cpp target as IMPORTED.
      
      ---------
      Co-authored-by: default avatarJesse Beder <jbeder+github@gmail.com>
      c26e0472
  8. 19 Aug, 2023 1 commit
    • Gianfranco Costamagna's avatar
      Fix testsuite with gcc-13 (#1216) · fcbb8193
      Gianfranco Costamagna authored
      cd /<<PKGBUILDDIR>>/build-static/test && /usr/bin/c++ -DYAML_CPP_STATIC_DEFINE -I/<<PKGBUILDDIR>>/test/integration -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googletest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/yaml-cpp-0.8.0+dfsg-1~build1 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wno-variadic-macros -Wno-sign-compare -DGTEST_HAS_PTHREAD=1 -MD -MT test/CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -MF CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o.d -o CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -c /<<PKGBUILDDIR>>/test/binary_test.cpp
      /<<PKGBUILDDIR>>/test/binary_test.cpp: In member function ‘virtual void BinaryTest_DecodingNoCrashOnNegative_Test::TestBody()’:
      /<<PKGBUILDDIR>>/test/binary_test.cpp:11:38: error: narrowing conversion of ‘-58’ from ‘int’ to ‘char’ [-Wnarrowing]
         11 |   std::string input{-58, -1, -99, 109};
            |                                      ^
      fcbb8193
  9. 24 Jul, 2023 1 commit
  10. 04 Mar, 2023 1 commit
    • Matthijs van der Burgh's avatar
      Make sure tests are run in CI (#1170) · 3ff7ab07
      Matthijs van der Burgh authored
      * Test(CMake) set NAME and COMMAND in add_test
      
      * (CMake) add enable_testing()
      
      * (CMake) move cmake_dependent_option up, before using them
      
      * (CMake) use YAML_CPP_MAIN_PROJECT in cmake_dependent_option
      
      * (CMake) log values regarding tests
      
      * (CMake) always find CTest, but don't enable tests
      
      * (CMAKE)(temp) fix logging
      
      * (actions) set YAML_CPP_BUILD_TESTS for tests
      
      * (actions) provide YAML_CPP_BUILD_TESTS to ctest
      
      * (actions) set -DYAML_CPP_BUILD_TESTS at build
      
      * (actions) don't fail false
      
      * (actions) build tests in Test step
      
      * (actions) run tests verbose
      
      * (CMake) remove temp logging
      
      * (actions) split building from running tests
      
      * (actions) ctest Debug
      
      * (actions) ctest Debug
      
      * Remove enable_testing
      3ff7ab07
  11. 02 Mar, 2023 1 commit
  12. 04 Oct, 2022 1 commit
  13. 20 Sep, 2022 1 commit
  14. 21 Apr, 2022 1 commit
  15. 19 Apr, 2022 1 commit
  16. 01 Apr, 2022 1 commit
  17. 17 Feb, 2022 1 commit
  18. 06 Jan, 2022 1 commit
  19. 15 Dec, 2021 1 commit
    • TheVice's avatar
      Fix shared library tests for Windows (#1074) · d8d94190
      TheVice authored
      Add copying of shared library to the output directory with a test binary.
      
      [binary] removed using of non unsigned char as argument at
      'std::isspace' function that was provokes undefined behavior.
      
      [.github/workflows/build.yml] enabled run of test at the
      'windows-latest' environment.
      d8d94190
  20. 20 Oct, 2021 1 commit
  21. 15 Jul, 2021 1 commit
  22. 05 Jul, 2021 1 commit
  23. 27 Jul, 2020 1 commit
  24. 24 Jul, 2020 1 commit
  25. 23 Jul, 2020 1 commit
  26. 16 Jul, 2020 3 commits
  27. 14 Jul, 2020 1 commit
  28. 06 Jul, 2020 1 commit
  29. 02 Jul, 2020 2 commits
  30. 29 Jun, 2020 1 commit
  31. 17 Jun, 2020 2 commits
  32. 15 Jun, 2020 2 commits
  33. 31 May, 2020 1 commit
  34. 23 May, 2020 1 commit