1. 02 May, 2024 1 commit
  2. 22 Feb, 2024 2 commits
  3. 28 Jan, 2024 1 commit
  4. 26 Jan, 2024 2 commits
  5. 04 Jan, 2024 2 commits
  6. 28 Dec, 2023 1 commit
  7. 14 Dec, 2023 2 commits
  8. 27 Nov, 2023 2 commits
  9. 07 Nov, 2023 2 commits
  10. 23 Oct, 2023 1 commit
  11. 22 Oct, 2023 1 commit
  12. 12 Oct, 2023 4 commits
  13. 11 Oct, 2023 2 commits
  14. 21 Sep, 2023 1 commit
  15. 17 Sep, 2023 2 commits
  16. 10 Sep, 2023 2 commits
    • Kefu Chai's avatar
      CI: test with supported C++ standards (#1226) · 016b2e77
      Kefu Chai authored
      
      
      * CI: test with supported C++ standards
      
      let's test with the supported standards for better coverage.
      C++23 standard was just out, but the support on the toolchain is
      not quite ready yet. so let's leave it for a future change.
      Signed-off-by: default avatarKefu Chai <tchaikov@gmail.com>
      
      * CI: drop redundant Build step
      
      "Build Tests" is strictly a superset of "Build". in addition to
      the library, the former builds the tests also. both these
      steps share the same set of command line arguments. by removing
      "Build" step, we don't lose anything regarding the test coverage
      and information for further investigation if the build fails.
      Signed-off-by: default avatarKefu Chai <tchaikov@gmail.com>
      
      ---------
      Signed-off-by: default avatarKefu Chai <tchaikov@gmail.com>
      016b2e77
    • Kefu Chai's avatar
      Revert "node/convert: relax the check for string_view (#1222)" (#1225) · 2383e6d0
      Kefu Chai authored
      This reverts commit 62622011.
      
      in 62622011, we wanted address the needs to use the `string_view`
      converter in C++98, but that requirement was based on wrong
      preconditions. `std::string_view` was introduced in C++17, and
      popular standard libraries like libstdc++ and libc++ both provide
      `std::string_view` when the source is built with C++17.
      
      furthermore 62622011 is buggy. because it uses `<version>` to tell
      the feature set provided by the standard library. but `<version>`
      is a part of C++20. so this defeats the purpose of the change of
      62622011.
      
      Fixes #1223
      2383e6d0
  17. 06 Sep, 2023 1 commit
  18. 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
  19. 16 Aug, 2023 1 commit
  20. 10 Aug, 2023 2 commits
  21. 24 Jul, 2023 1 commit
  22. 28 Jun, 2023 1 commit
  23. 23 Mar, 2023 1 commit
  24. 21 Mar, 2023 1 commit
  25. 04 Mar, 2023 3 commits
    • Matthijs van der Burgh's avatar
      Delete .travis.yml (#1177) · 987a6042
      Matthijs van der Burgh authored
      987a6042
    • Matthijs van der Burgh's avatar
    • 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