Artifactspublic-v0

curl

master
ply4 git calls26 ms288 KiB3 cachedprotocol v2
194 lines6.6 KiBRaw
1# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
2#
3# SPDX-License-Identifier: curl
5name: 'configure-vs-cmake'
6'on':
7 push:
8 branches:
9 - master
10 - 'curl-*'
11 paths:
12 - '*.ac'
13 - '**/*.m4'
14 - '**/CMakeLists.txt'
15 - 'CMake/**'
16 - 'lib/curl_config-cmake.h.in'
17 - 'tests/cmake/**'
18 - '.github/scripts/cmp-config.pl'
19 - '.github/workflows/configure-vs-cmake.yml'
21 pull_request:
22 branches:
23 - master
24 - 'curl-*'
25 paths:
26 - '*.ac'
27 - '**/*.m4'
28 - '**/CMakeLists.txt'
29 - 'CMake/**'
30 - 'lib/curl_config-cmake.h.in'
31 - 'tests/cmake/**'
32 - '.github/scripts/cmp-config.pl'
33 - '.github/workflows/configure-vs-cmake.yml'
35concurrency:
36 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
37 cancel-in-progress: true
39permissions: {}
40cache-mode: none
42env:
43 CURL_CI: github
44 DO_NOT_TRACK: '1'
46jobs:
47 check-linux:
48 name: 'Linux'
49 runs-on: ubuntu-26.04-arm
50 steps:
51 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
52 with:
53 persist-credentials: false
55 - name: 'run configure --with-openssl'
56 run: |
57 autoreconf -fi
58 echo '::group::configure --help output'; ./configure --help; echo '::endgroup::'
59 export PKG_CONFIG_DEBUG_SPEW=1
60 mkdir bld-am && cd bld-am && ../configure --enable-static=no --with-openssl --without-libpsl
62 - name: 'run cmake'
63 run: cmake -B bld-cm -DCURL_WERROR=ON -DCURL_USE_CMAKECONFIG=OFF -DCURL_USE_LIBPSL=OFF
65 - name: 'configure log'
66 run: cat bld-am/config.log 2>/dev/null || true
68 - name: 'cmake log'
69 run: cat bld-cm/CMakeFiles/CMakeConfigureLog.yaml 2>/dev/null || true
71 - name: 'generated libcurl.pc files'
72 run: |
73 for f in libcurl.pc curl-config; do
74 echo "::group::AM ${f}"; grep -v '^#' bld-am/"${f}" || true; echo '::endgroup::'
75 echo "::group::CM ${f}"; grep -v '^#' bld-cm/"${f}" || true; echo '::endgroup::'
76 done
78 - name: 'compare generated curl_config.h files'
79 run: .github/scripts/cmp-config.pl bld-am/lib/curl_config.h bld-cm/lib/curl_config.h
81 - name: 'compare generated libcurl.pc files'
82 run: .github/scripts/cmp-pkg-config.sh bld-am/libcurl.pc bld-cm/libcurl.pc
84 - name: 'compare generated curl-config files'
85 run: .github/scripts/cmp-pkg-config.sh bld-am/curl-config bld-cm/curl-config
87 check-macos:
88 name: 'macOS'
89 runs-on: macos-latest
90 steps:
91 - uses: $/.github/actions/macos-fix-certs
93 - name: 'install prereqs'
94 timeout-minutes: 2
95 uses: $/.github/actions/pkg-install
96 with:
97 brew: automake libtool
99 - name: 'toolchain versions'
100 run: echo '::group::brew packages installed'; ls -l /opt/homebrew/opt; echo '::endgroup::'
102 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
103 with:
104 persist-credentials: false
106 - name: 'run configure --with-openssl'
107 run: |
108 autoreconf -fi
109 echo '::group::configure --help output'; ./configure --help; echo '::endgroup::'
110 export PKG_CONFIG_DEBUG_SPEW=1
111 mkdir bld-am && cd bld-am && ../configure --enable-static=no --with-openssl --without-libpsl --disable-ldap --with-brotli --with-zstd --with-apple-sectrust
113 - name: 'run cmake'
114 run: |
115 cmake -B bld-cm -DCURL_WERROR=ON -DCURL_USE_CMAKECONFIG=OFF -DCURL_USE_LIBPSL=OFF -DCURL_DISABLE_LDAP=ON \
116 -DCMAKE_C_COMPILER_TARGET="$(uname -m | sed 's/arm64/aarch64/')-apple-darwin$(uname -r)" \
117 -DCURL_USE_LIBSSH2=OFF -DUSE_APPLE_SECTRUST=ON
119 - name: 'configure log'
120 run: cat bld-am/config.log 2>/dev/null || true
122 - name: 'cmake log'
123 run: cat bld-cm/CMakeFiles/CMakeConfigureLog.yaml 2>/dev/null || true
125 - name: 'generated libcurl.pc files'
126 run: |
127 for f in libcurl.pc curl-config; do
128 echo "::group::AM ${f}"; grep -v '^#' bld-am/"${f}" || true; echo '::endgroup::'
129 echo "::group::CM ${f}"; grep -v '^#' bld-cm/"${f}" || true; echo '::endgroup::'
130 done
131 pccritic --version
132 pccritic --min-score 98 bld-am/libcurl.pc
133 pccritic --min-score 98 bld-cm/libcurl.pc
135 - name: 'compare generated curl_config.h files'
136 run: .github/scripts/cmp-config.pl bld-am/lib/curl_config.h bld-cm/lib/curl_config.h
138 - name: 'compare generated libcurl.pc files'
139 run: .github/scripts/cmp-pkg-config.sh bld-am/libcurl.pc bld-cm/libcurl.pc
141 - name: 'compare generated curl-config files'
142 run: .github/scripts/cmp-pkg-config.sh bld-am/curl-config bld-cm/curl-config
144 check-windows:
145 name: 'Windows'
146 runs-on: ubuntu-26.04-arm
147 env:
148 TRIPLET: 'x86_64-w64-mingw32'
149 steps:
150 - name: 'install prereqs'
151 timeout-minutes: 1
152 uses: $/.github/actions/pkg-install
153 with:
154 apt: gcc-mingw-w64-x86-64-win32
156 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
157 with:
158 persist-credentials: false
160 - name: 'run configure --with-schannel'
161 run: |
162 autoreconf -fi
163 echo '::group::configure --help output'; ./configure --help; echo '::endgroup::'
164 export PKG_CONFIG_DEBUG_SPEW=1
165 mkdir bld-am && cd bld-am && ../configure --enable-static=no --with-schannel --without-libpsl --host="${TRIPLET}"
167 - name: 'run cmake'
168 run: |
169 cmake -B bld-cm -DCURL_WERROR=ON -DCURL_USE_CMAKECONFIG=OFF -DCURL_USE_SCHANNEL=ON -DCURL_USE_LIBPSL=OFF \
170 -DCMAKE_SYSTEM_NAME=Windows \
171 -DCMAKE_C_COMPILER_TARGET="${TRIPLET}" \
172 -DCMAKE_C_COMPILER="${TRIPLET}-gcc"
174 - name: 'configure log'
175 run: cat bld-am/config.log 2>/dev/null || true
177 - name: 'cmake log'
178 run: cat bld-cm/CMakeFiles/CMakeConfigureLog.yaml 2>/dev/null || true
180 - name: 'generated libcurl.pc files'
181 run: |
182 for f in libcurl.pc curl-config; do
183 echo "::group::AM ${f}"; grep -v '^#' bld-am/"${f}" || true; echo '::endgroup::'
184 echo "::group::CM ${f}"; grep -v '^#' bld-cm/"${f}" || true; echo '::endgroup::'
185 done
187 - name: 'compare generated curl_config.h files'
188 run: .github/scripts/cmp-config.pl bld-am/lib/curl_config.h bld-cm/lib/curl_config.h
190 - name: 'compare generated libcurl.pc files'
191 run: .github/scripts/cmp-pkg-config.sh bld-am/libcurl.pc bld-cm/libcurl.pc
193 - name: 'compare generated curl-config files'
194 run: .github/scripts/cmp-pkg-config.sh bld-am/curl-config bld-cm/curl-config
Diagnostics4 git calls · 26 ms
CallStatusSizeTime026 ms
discover200152 B2 ms
git.upload-pack discover
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=3
git.response.bytes=152
git.server.agent=gitty/1.0
git.server.object_format=sha1
git.server.caps=agent ls-refs fetch object-format
git.server.fetch=shallow filter sideband-all
git.protocol.version=2
git.pkt.frames=8
git.pkt.data=6
git.pkt.flush=2
git.pkt.delim=0
git.pkt.bytes=152
git.pkt.payload.max=34
ls-refs200149 B · hit2 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=2
git.response.bytes=149
git.response.cache=HIT
git.response.duration_ms=2
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=149
git.pkt.payload.max=78
git.ls_refs.count=2
git.ls_refs.head=refs/heads/master
fetchblob:none · deepen 10200287 KiB · hit3 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=21
git.response.bytes=293470
git.response.cache=HIT
git.response.duration_ms=3
git.fetch.filter=blob:none
git.fetch.filter.requested=tree:0
git.fetch.filter.fallback=blob:none
git.fetch.filter.learned=false
git.fetch.wants=31c911efe5652725e930f4d2e60c9060e5f6646d
git.fetch.haves.count=0
git.fetch.deepen=10
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=10
git.pkt.data=8
git.pkt.flush=1
git.pkt.delim=1
git.pkt.bytes=293470
git.pkt.payload.max=65516
git.sideband.band1.bytes=293354
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=87
git.pack.bytes=293354
git.pack.ofs_delta=0
git.pack.ref_delta=1
git.pack.chain.max=1
git.pack.trailer=6a646bcda6740bab42e321b51998b52ea15146c0
git.pack.full=86
Open pack map
fetch2001.5 KiB · hit21 ms
git.upload-pack fetch
http.response.status_code=200
git.response.bytes=1577
git.response.cache=HIT
git.response.duration_ms=21
git.fetch.wants=92cc426cb18f58debd5e75c51e876a4ccab1d7a5
git.fetch.haves.count=0
git.fetch.deepen=0
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=1577
git.pkt.payload.max=1556
git.sideband.band1.bytes=1555
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0

Each row is one HTTP round trip ply made to the git server for this page, on one timeline. discover asks what the server speaks, ls-refs lists branch tips, fetch brings objects by id. A hit was served by Workers Cache. Tap a row for its wire details.

Remote
https://5ad2236b39de4c8bd8f6270ea63f3ea9.artifacts.cloudflare.net/git/public-v0/curl.git
Ref
refs/heads/master
Commit
31c911efe5652725e930f4d2e60c9060e5f6646d
cf-ray
a5e193bf4b32ddf0
Request
dbad3def…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format