mirror of
https://github.com/curl/curl.git
synced 2026-07-02 13:57:18 +03:00
cmake: distcheck for files in CMake subdir
- add CMake option to verify if the `CMake/*.cmake`, `CMake/*.in` files are listed as distributable in autotools' `EXTRA_DIST`. The check can be enabled with `-DENABLE_DIST_TEST=ON` CMake option. - add CI job to that effect. Ref: #14320 Closes #14323
This commit is contained in:
parent
404679d25f
commit
a118a6ecdd
3 changed files with 38 additions and 1 deletions
10
.github/workflows/distcheck.yml
vendored
10
.github/workflows/distcheck.yml
vendored
|
|
@ -129,3 +129,13 @@ jobs:
|
|||
cmake -B build -DCURL_WERROR=ON
|
||||
make -C build -j5
|
||||
name: 'verify out-of-tree cmake build'
|
||||
|
||||
verify-cmake-test-dist:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
||||
|
||||
- name: 'cmake test dist'
|
||||
run: |
|
||||
cmake -B build -DENABLE_DIST_TEST=ON
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue