1. 04 Mar, 2023 2 commits
    • 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
    • Diogo Teles Sant'Anna's avatar
      CI: define read-only permission for GitHub Workflow (#1175) · d7f672d1
      Diogo Teles Sant'Anna authored
      It secures the repo against erroneous or malicious actions from external jobs you call from your workflow. It's specially important for the case they get compromised, for example.
      d7f672d1
  2. 02 Mar, 2023 1 commit
  3. 04 Oct, 2022 1 commit
  4. 20 Sep, 2022 7 commits
  5. 31 May, 2022 1 commit
  6. 21 May, 2022 1 commit
  7. 27 Apr, 2022 1 commit
  8. 21 Apr, 2022 1 commit
  9. 19 Apr, 2022 1 commit
  10. 03 Apr, 2022 1 commit
  11. 01 Apr, 2022 4 commits
  12. 17 Feb, 2022 1 commit
  13. 08 Feb, 2022 1 commit
  14. 27 Jan, 2022 2 commits
  15. 06 Jan, 2022 1 commit
  16. 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
  17. 10 Dec, 2021 1 commit
  18. 23 Nov, 2021 3 commits
  19. 03 Nov, 2021 1 commit
  20. 31 Oct, 2021 1 commit
  21. 20 Oct, 2021 1 commit
  22. 13 Oct, 2021 1 commit
  23. 10 Oct, 2021 2 commits
  24. 28 Sep, 2021 1 commit
  25. 25 Sep, 2021 1 commit
    • Pino Toscano's avatar
      Hide most of non-public symbols by default (#984) · da1c8d36
      Pino Toscano authored
      * Export YAML::detail::node::m_amount
      
      The internal header node/detail/node.h is included by public headers;
      YAML::detail::node is implemented in the header itself, and thus it gets
      inlined... except for its static m_amount class member, which is
      instantiated in the library only. Right now all the symbols of yaml-cpp
      are exported (nothing is hidden), so the linker will find node::m_amount
      in the yaml-cpp library.
      
      As solution/workaround, explicitly export YAML::detail::node::m_amount.
      
      * CMake: use GenerateExportHeader
      
      Make use of the GenerateExportHeader CMake module to generate the dll.h
      header with export macros.
      
      While the produced dll.h is different, the result should be the same,
      i.e. nothing changes for yaml-cpp or its users.
      
      * CMake: hide all the symbols by default
      
      Hide all the symbols that are not explicitly exported with YAML_CPP_API.
      This way the ABI will be way smaller, and only actually exposing the
      public classes/functions.
      da1c8d36
  26. 30 Aug, 2021 1 commit