master
1# Copyright (C) Viktor Szakats
2#
3# SPDX-License-Identifier: curl
4---
5name: 'curl-for-win'
7'on':
8 push:
9 branches:
10 - master
11 - 'curl-*'
12 - '*/ci'
13 paths-ignore:
14 - '**/*.md'
15 - 'appveyor.*'
16 - 'Dockerfile'
17 - 'projects/**'
18 pull_request:
19 branches:
20 - master
21 - 'curl-*'
22 paths-ignore:
23 - '**/*.md'
24 - 'appveyor.*'
25 - 'Dockerfile'
26 - 'projects/**'
28concurrency:
29 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
30 cancel-in-progress: true
32permissions: {}
33cache-mode: none
35env:
36 CW_NOGET: 'curl trurl'
37 CW_MAP: '0'
38 CW_JOBS: '5'
39 CW_NOPKG: '1'
40 DO_NOT_TRACK: '1'
42jobs:
43 linux-glibc-gcc:
44 name: 'Linux gcc glibc (amd64, arm64)'
45 runs-on: ubuntu-26.04-arm
46 timeout-minutes: 10
47 steps:
48 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
49 with:
50 persist-credentials: false
51 path: 'curl'
52 fetch-depth: 8
53 - name: 'build'
54 run: |
55 git clone --depth 1 https://github.com/curl/curl-for-win
56 mv curl-for-win/* .
57 export CW_CONFIG='-main-werror-unitybatch-nocertdata-linux-a64-x64-gcc'
58 export CW_REVISION="${GITHUB_SHA}"
59 . ./_versions.sh
60 export CW_GCCSUFFIX='-12'
61 sudo podman image trust set --type reject default
62 sudo podman image trust set --type accept docker.io/library
63 time podman pull "${OCI_IMAGE_DEBIAN_STABLE}"
64 podman images --digests
65 time podman run --volume "$(pwd):$(pwd)" --workdir "$(pwd)" \
66 --env-file <(env | grep -a -E \
67 '^(CI\b|CW_|DO_NOT_TRACK|GITHUB_)') \
68 "${OCI_IMAGE_DEBIAN_STABLE}" \
69 sh -c ./_ci-linux-debian.sh
71 linux-glibc-gcc-minimal: # use gcc to minimize installed packages
72 name: 'Linux gcc glibc minimal (amd64)'
73 runs-on: ubuntu-26.04-arm
74 timeout-minutes: 5
75 steps:
76 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
77 with:
78 persist-credentials: false
79 path: 'curl'
80 fetch-depth: 8
81 - name: 'build'
82 run: |
83 git clone --depth 1 https://github.com/curl/curl-for-win
84 mv curl-for-win/* .
85 export CW_CONFIG='-main-werror-unitybatch-nocertdata-prefill-zero-osnotls-osnoidn-nohttp-nocurltool-linux-x64-gcc'
86 export CW_REVISION="${GITHUB_SHA}"
87 . ./_versions.sh
88 sudo podman image trust set --type reject default
89 sudo podman image trust set --type accept docker.io/library
90 time podman pull "${OCI_IMAGE_DEBIAN}"
91 podman images --digests
92 time podman run --volume "$(pwd):$(pwd)" --workdir "$(pwd)" \
93 --env-file <(env | grep -a -E \
94 '^(CI\b|CW_|DO_NOT_TRACK|GITHUB_)') \
95 "${OCI_IMAGE_DEBIAN}" \
96 sh -c ./_ci-linux-debian.sh
98 linux-musl-llvm:
99 name: 'Linux llvm MUSL (amd64, riscv64)'
100 runs-on: ubuntu-26.04-arm
101 timeout-minutes: 10
102 steps:
103 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
104 with:
105 persist-credentials: false
106 path: 'curl'
107 fetch-depth: 8
108 - name: 'build'
109 run: |
110 git clone --depth 1 https://github.com/curl/curl-for-win
111 mv curl-for-win/* .
112 export CW_CONFIG='-main-werror-unitybatch-nocertdata-linux-musl-r64-x64'
113 export CW_REVISION="${GITHUB_SHA}"
114 . ./_versions.sh
115 export CW_CCSUFFIX='-19'
116 export CW_GCCSUFFIX='-14'
117 sudo podman image trust set --type reject default
118 sudo podman image trust set --type accept docker.io/library
119 time podman pull "${OCI_IMAGE_DEBIAN_STABLE}"
120 podman images --digests
121 time podman run --volume "$(pwd):$(pwd)" --workdir "$(pwd)" \
122 --env-file <(env | grep -a -E \
123 '^(CI\b|CW_|DO_NOT_TRACK|GITHUB_)') \
124 "${OCI_IMAGE_DEBIAN_STABLE}" \
125 sh -c ./_ci-linux-debian.sh
127 mac-clang:
128 name: 'macOS clang cares (x86_64)'
129 runs-on: macos-latest
130 timeout-minutes: 10
131 env:
132 CW_JOBS: '4'
133 steps:
134 - uses: $/.github/actions/macos-fix-certs
136 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
137 with:
138 persist-credentials: false
139 path: 'curl'
140 fetch-depth: 8
141 - name: 'build'
142 run: |
143 git clone --depth 1 https://github.com/curl/curl-for-win
144 mv curl-for-win/* .
145 export CW_CONFIG='-main-werror-unitybatch-nocertdata-mac-x64-cares'
146 export CW_REVISION="${GITHUB_SHA}"
147 sh -c ./_ci-mac-homebrew.sh
149 win-llvm:
150 name: 'Windows llvm (x64)'
151 runs-on: ubuntu-26.04-arm
152 timeout-minutes: 10
153 env:
154 CW_PKG_NODELETE: '1'
155 CW_PKG_FLATTEN: '1'
156 steps:
157 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
158 with:
159 persist-credentials: false
160 path: 'curl'
161 fetch-depth: 8
162 - name: 'build'
163 run: |
164 git clone --depth 1 https://github.com/curl/curl-for-win
165 mv curl-for-win/* .
166 export CW_CONFIG='-main-werror-unitybatch-nocertdata-win-x64-noWINE'
167 export CW_REVISION="${GITHUB_SHA}"
168 . ./_versions.sh
169 sudo podman image trust set --type reject default
170 sudo podman image trust set --type accept docker.io/library
171 time podman pull "${OCI_IMAGE_DEBIAN}"
172 podman images --digests
173 time podman run --volume "$(pwd):$(pwd)" --workdir "$(pwd)" \
174 --env-file <(env | grep -a -E \
175 '^(CI\b|CW_|DO_NOT_TRACK|GITHUB_)') \
176 "${OCI_IMAGE_DEBIAN}" \
177 sh -c ./_ci-linux-debian.sh
179 - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
180 with:
181 name: 'curl-windows-snapshot-tool'
182 retention-days: 5
183 path: curl-*-*-*/curl*
184 archive: false
186 win-gcc-zlibold-x64:
187 name: 'Windows gcc zlib-classic (x64)'
188 runs-on: ubuntu-26.04-arm
189 timeout-minutes: 10
190 steps:
191 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
192 with:
193 persist-credentials: false
194 path: 'curl'
195 fetch-depth: 8
196 - name: 'build'
197 run: |
198 git clone --depth 1 https://github.com/curl/curl-for-win
199 mv curl-for-win/* .
200 export CW_CONFIG='-main-werror-unitybatch-nocertdata-curltests-win-x64-gcc-zlibold-noWINE'
201 export CW_REVISION="${GITHUB_SHA}"
202 . ./_versions.sh
203 sudo podman image trust set --type reject default
204 sudo podman image trust set --type accept docker.io/library
205 time podman pull "${OCI_IMAGE_DEBIAN}"
206 podman images --digests
207 time podman run --volume "$(pwd):$(pwd)" --workdir "$(pwd)" \
208 --env-file <(env | grep -a -E \
209 '^(CI\b|CW_|DO_NOT_TRACK|GITHUB_)') \
210 "${OCI_IMAGE_DEBIAN}" \
211 sh -c ./_ci-linux-debian.sh
Diagnostics4 git calls · 428 ms
CallStatusSizeTime0428 ms
discover200152 B3 ms
git.upload-pack discover http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=fetch git.upstream.dur_ms=2 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 · hit3 ms
git.upload-pack ls-refs http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=ls-refs git.upstream.dur_ms=3 git.response.bytes=149 git.response.cache=HIT git.response.duration_ms=3 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 · hit5 ms
git.upload-pack fetch http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=fetch git.upstream.dur_ms=420 git.response.bytes=293470 git.response.cache=HIT git.response.duration_ms=5 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=86Open pack map
fetch2001.5 KiB420 ms
git.upload-pack fetch http.response.status_code=200 git.response.bytes=1505 git.response.cache=MISS git.response.duration_ms=420 git.fetch.wants=cefe92cfd86152eda823c359d8e6ac8d9374a934 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=1505 git.pkt.payload.max=1484 git.sideband.band1.bytes=1483 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
- a5e2decfbffb2308
- Request
- 0ee20622…
- Protocol
- v2 · sha1
- Agent
- gitty/1.0
- Filter
- advertised
- Fetch
- shallow filter sideband-all
- Capabilities
- agent ls-refs fetch object-format