mirror of
https://github.com/curl/curl.git
synced 2026-07-24 05:37:15 +03:00
cmake: add C++ integration test
Also:
- include code to verify a C++-specific public header regression
reported in 8.19.0-rc2.
- curl/curl.h: mention C++ global namespace in comment.
- GHA/dist: add CI job for C++. Runtime: 15 seconds.
Follow-up to ee9b000438 #20686
Ref: #20682
Closes #20687
This commit is contained in:
parent
ee9b000438
commit
6ad50dc285
6 changed files with 67 additions and 11 deletions
3
.github/workflows/distcheck.yml
vendored
3
.github/workflows/distcheck.yml
vendored
|
|
@ -316,6 +316,9 @@ jobs:
|
|||
run: ./tests/cmake/test.sh add_subdirectory ${TESTOPTS} -DCURL_USE_OPENSSL=ON
|
||||
- name: 'via find_package'
|
||||
run: ./tests/cmake/test.sh find_package ${TESTOPTS} -DCURL_USE_OPENSSL=ON
|
||||
- name: 'via find_package (C++)'
|
||||
if: ${{ contains(matrix.image, 'ubuntu') }}
|
||||
run: TEST_CMAKE_FLAGS=-DTEST_CPP=ON ./tests/cmake/test.sh find_package ${TESTOPTS} -DCURL_USE_OPENSSL=ON
|
||||
|
||||
- name: 'via ExternalProject (old cmake)'
|
||||
if: ${{ contains(matrix.image, 'ubuntu') }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue