GHA: sync up curl -V step descriptions

Also to make it easier to recognize.

Also:
- GHA/linux-old: split steps to match other jobs.
- GHA: add `--disable` where missing.

Closes #19084
This commit is contained in:
Viktor Szakats 2025-10-15 20:22:20 +02:00
parent c8d6643df2
commit 3c0604bba4
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
5 changed files with 26 additions and 20 deletions

View file

@ -661,8 +661,8 @@ jobs:
make -C bld V=1
fi
- name: 'check curl -V output'
run: bld/src/curl -V
- name: 'curl -V'
run: bld/src/curl --disable -V
- name: 'build tests'
if: ${{ !contains(matrix.build.install_steps, 'skipall') }}

View file

@ -80,14 +80,18 @@ jobs:
with:
persist-credentials: false
- name: 'cmake build-only (out-of-tree)'
- name: 'cmake build-only configure (out-of-tree)'
run: |
mkdir bld-1
cd bld-1
cmake .. -DCMAKE_UNITY_BUILD=ON -DCURL_WERROR=ON -DBUILD_SHARED_LIBS=ON \
-DCURL_USE_GNUTLS=ON -DENABLE_ARES=OFF -DCURL_ZSTD=OFF -DCURL_USE_GSSAPI=OFF -DCURL_USE_LIBSSH2=OFF -DCURL_USE_LIBSSH=OFF -DUSE_LIBRTMP=ON
VERBOSE=1 make install
src/curl --disable --version
- name: 'cmake build-only build'
run: VERBOSE=1 make -C bld-1 install
- name: 'cmake build-only curl -V'
run: bld-1/src/curl --disable --version
- name: 'cmake build-only configure log'
if: ${{ !cancelled() }}
@ -118,9 +122,10 @@ jobs:
grep -F '#define' bld-cares/lib/curl_config.h | sort || true
- name: 'cmake build'
run: |
make -C bld-cares
bld-cares/src/curl --disable --version
run: make -C bld-cares
- name: 'cmake curl -V'
run: bld-cares/src/curl --disable --version
- name: 'cmake install'
run: make -C bld-cares install
@ -135,7 +140,7 @@ jobs:
run: make -C bld-cares curl-examples-build
- name: 'autoreconf'
run: autoreconf -if
run: autoreconf -fi
- name: 'autotools configure (out-of-tree, c-ares, zstd, gssapi)'
run: |
@ -155,9 +160,10 @@ jobs:
grep -F '#define' bld-am/lib/curl_config.h | sort || true
- name: 'autotools build'
run: |
make -C bld-am
bld-am/src/curl --disable --version
run: make -C bld-am
- name: 'autotools curl -V'
run: bld-am/src/curl --disable --version
- name: 'autotools install'
run: make -C bld-am install

View file

@ -638,9 +638,9 @@ jobs:
fi
./scripts/singleuse.pl --unit "${libcurla}"
- name: 'check curl -V output'
- name: 'curl -V'
if: ${{ matrix.build.make-custom-target != 'tidy' }}
run: bld/src/curl -V
run: bld/src/curl --disable -V
- name: 'curl install'
run: |

View file

@ -461,7 +461,7 @@ jobs:
make -C bld V=1
fi
- name: 'curl version'
- name: 'curl -V'
run: bld/src/curl --disable --version
- name: 'curl install'
@ -705,5 +705,5 @@ jobs:
make -C bld V=1
fi
- name: 'curl version'
- name: 'curl -V'
run: bld/src/curl --disable --version

View file

@ -130,7 +130,7 @@ jobs:
make -C bld V=1 install
fi
- name: 'curl version'
- name: 'curl -V'
timeout-minutes: 1
run: |
PATH=/usr/bin
@ -332,7 +332,7 @@ jobs:
make -C bld V=1 install
fi
- name: 'curl version'
- name: 'curl -V'
timeout-minutes: 1
run: |
if [ "${MATRIX_BUILD}" = 'cmake' ]; then
@ -547,7 +547,7 @@ jobs:
PATH="/d/my-cache/${MATRIX_DIR}/bin:$PATH"
cmake --build bld
- name: 'curl version'
- name: 'curl -V'
timeout-minutes: 1
run: |
/usr/bin/find . \( -name '*.exe' -o -name '*.dll' -o -name '*.a' \) -exec file '{}' \;
@ -907,7 +907,7 @@ jobs:
timeout-minutes: 5
run: cmake --build bld --config "${MATRIX_TYPE}" --parallel 5
- name: 'curl version'
- name: 'curl -V'
timeout-minutes: 1
run: |
/usr/bin/find . \( -name '*.exe' -o -name '*.dll' -o -name '*.lib' -o -name '*.pdb' \) -exec file '{}' \;