Skip to content

Commit

Permalink
try dumping -V info at the end of the builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Sep 1, 2024
1 parent b1f818f commit 3495902
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-glibc-debian-testing-llvm'
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-glibc-debian-testing-gcc'
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-glibc-debian-bookworm-llvm'
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-glibc-debian-bookworm-gcc'
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-musl-debian-testing-llvm'
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-musl-debian-testing-gcc'
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-musl-debian-bookworm-llvm'
Expand Down Expand Up @@ -308,7 +308,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-musl-debian-bookworm-gcc'
Expand Down Expand Up @@ -339,7 +339,7 @@ jobs:
sh -c 'apk add --no-cache bash && ./_ci-linux-alpine.sh'
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-musl-alpine-llvm-x86_64'
Expand Down Expand Up @@ -370,7 +370,7 @@ jobs:
sh -c 'apk add --no-cache bash && ./_ci-linux-alpine.sh'
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-musl-alpine-gcc-x86_64'
Expand All @@ -395,7 +395,7 @@ jobs:
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-musl-from-mac'
Expand All @@ -422,7 +422,7 @@ jobs:
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-macos-universal-clang'
Expand All @@ -449,7 +449,7 @@ jobs:
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-macos-universal-llvm'
Expand Down Expand Up @@ -477,7 +477,7 @@ jobs:
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-macos-gcc-arm64'
Expand Down Expand Up @@ -506,7 +506,7 @@ jobs:
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-windows-llvm-from-mac'
Expand Down Expand Up @@ -540,7 +540,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-windows-llvm'
Expand Down Expand Up @@ -574,7 +574,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-windows-gcc-noarm64'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-glibc-daily-tool'
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-musl-daily-tool'
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-macos-universal-daily-tool'
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt
run: cat urls.txt *-version-*.txt || true
# https://github.com/actions/upload-artifact
- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion curl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ _VER="$1"
# directly from the binary as strings, but curl creates most of these
# strings dynamically at runtime, so this is not possible
# (as of curl 7.83.1).
${_RUN_BIN} "${bin}" --disable --version | tee "curl-${_CPU}.txt" || true
${_RUN_BIN} "${bin}" --disable --version | sed 's/$/\x0d/' | tee "../curl-version-${_CPU}.txt" || true
fi
# Create package
Expand Down
2 changes: 1 addition & 1 deletion trurl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ _VER="$1"
# when running it from the unpacked release tarball.
LD_LIBRARY_PATH="$(pwd)/../curl/${_PP}/lib" \
DYLD_LIBRARY_PATH="$(pwd)/../curl/${_PP}/lib" \
${_RUN_BIN} "${bin}" --version | tee "trurl-${_CPU}.txt" || true
${_RUN_BIN} "${bin}" --version | sed 's/$/\x0d/' | tee "../trurl-version-${_CPU}.txt" || true
unset LD_DEBUG

if [ "${CW_TURL_TEST:-}" = '1' ] && \
Expand Down

0 comments on commit 3495902

Please sign in to comment.