2
0

configure-vs-cmake.yml 884 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. #
  3. # SPDX-License-Identifier: curl
  4. name: configure-vs-cmake
  5. on:
  6. push:
  7. branches:
  8. - master
  9. paths:
  10. - '*.ac'
  11. - '**/*.m4'
  12. - '**/CMakeLists.txt'
  13. - 'lib/curl_config.h.cmake'
  14. - 'scripts/cmp-config.pl'
  15. pull_request:
  16. branches:
  17. - master
  18. paths:
  19. - '*.ac'
  20. - '**/*.m4'
  21. - '**/CMakeLists.txt'
  22. - 'lib/curl_config.h.cmake'
  23. - 'scripts/cmp-config.pl'
  24. permissions: {}
  25. jobs:
  26. check:
  27. runs-on: ubuntu-latest
  28. steps:
  29. - uses: actions/checkout@v4
  30. - name: run configure --with-openssl
  31. run: |
  32. autoreconf -fi
  33. ./configure --with-openssl
  34. - name: run cmake
  35. run: |
  36. mkdir build && cd build && cmake ..
  37. - name: compare generated curl_config.h files
  38. run: ./scripts/cmp-config.pl lib/curl_config.h build/lib/curl_config.h