mirror of
https://github.com/curl/curl.git
synced 2026-05-22 09:56:23 +03:00
dist: add CI job to detect files missing from distro
Also:
- delete previous, cmake-specific solution.
- move a CI script under `.github`.
Follow-up to a118a6ecdd #14323
Closes #14463
This commit is contained in:
parent
515440a2f2
commit
2edbc229cb
6 changed files with 70 additions and 35 deletions
6
.github/workflows/configure-vs-cmake.yml
vendored
6
.github/workflows/configure-vs-cmake.yml
vendored
|
|
@ -12,7 +12,7 @@ on:
|
|||
- '**/*.m4'
|
||||
- '**/CMakeLists.txt'
|
||||
- 'lib/curl_config.h.cmake'
|
||||
- 'scripts/cmp-config.pl'
|
||||
- '.github/scripts/cmp-config.pl'
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
|
|
@ -22,7 +22,7 @@ on:
|
|||
- '**/*.m4'
|
||||
- '**/CMakeLists.txt'
|
||||
- 'lib/curl_config.h.cmake'
|
||||
- 'scripts/cmp-config.pl'
|
||||
- '.github/scripts/cmp-config.pl'
|
||||
|
||||
permissions: {}
|
||||
|
||||
|
|
@ -42,4 +42,4 @@ jobs:
|
|||
mkdir build && cd build && cmake ..
|
||||
|
||||
- name: compare generated curl_config.h files
|
||||
run: ./scripts/cmp-config.pl lib/curl_config.h build/lib/curl_config.h
|
||||
run: ./.github/scripts/cmp-config.pl lib/curl_config.h build/lib/curl_config.h
|
||||
|
|
|
|||
12
.github/workflows/distcheck.yml
vendored
12
.github/workflows/distcheck.yml
vendored
|
|
@ -122,15 +122,19 @@ jobs:
|
|||
make -C build -j5
|
||||
name: 'verify out-of-tree cmake build'
|
||||
|
||||
verify-cmake-test-dist:
|
||||
missing-files:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
needs: maketgz-and-verify-in-tree
|
||||
steps:
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
||||
|
||||
- name: 'cmake test dist'
|
||||
run: |
|
||||
cmake -B build -DENABLE_DIST_TEST=ON
|
||||
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
|
||||
with:
|
||||
name: 'release-tgz'
|
||||
|
||||
- name: 'detect files missing from release tarball'
|
||||
run: .github/scripts/distfiles.sh curl-99.98.97.tar.gz
|
||||
|
||||
reproducible-releases:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue