mirror of
https://github.com/curl/curl.git
synced 2026-05-30 11:37:28 +03:00
GHA/curl-for-win: add minimal Linux build
A bit more minimal build than the one used for trurl. To stress test a build with most features disabled. Costs 40 seconds, of which 6 is the build, rest is installing tools. Ref:5b385001d5Ref:3ee10692c7Follow-up to5af2457848#17818 Closes #17961
This commit is contained in:
parent
5cefb455d4
commit
373855a4da
1 changed files with 27 additions and 0 deletions
27
.github/workflows/curl-for-win.yml
vendored
27
.github/workflows/curl-for-win.yml
vendored
|
|
@ -71,6 +71,33 @@ jobs:
|
|||
"${DOCKER_IMAGE_STABLE}" \
|
||||
sh -c ./_ci-linux-debian.sh
|
||||
|
||||
linux-glibc-gcc-minimal: # use gcc to minimize installed packages
|
||||
name: 'Linux gcc glibc minimal'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
path: 'curl'
|
||||
fetch-depth: 8
|
||||
- name: 'build'
|
||||
run: |
|
||||
git clone --depth 1 https://github.com/curl/curl-for-win
|
||||
mv curl-for-win/* .
|
||||
export CW_CONFIG='-main-werror-unitybatch-prefill-zero-osnotls-osnoidn-nohttp-nocurltool-linux-x64-gcc'
|
||||
export CW_REVISION="${GITHUB_SHA}"
|
||||
. ./_versions.sh
|
||||
sudo podman image trust set --type reject default
|
||||
sudo podman image trust set --type accept docker.io/library
|
||||
time podman pull "${DOCKER_IMAGE}"
|
||||
podman images --digests
|
||||
time podman run --volume "$(pwd):$(pwd)" --workdir "$(pwd)" \
|
||||
--env-file <(env | grep -a -E \
|
||||
'^(CW_|GITHUB_)') \
|
||||
"${DOCKER_IMAGE}" \
|
||||
sh -c ./_ci-linux-debian.sh
|
||||
|
||||
linux-musl-llvm:
|
||||
name: 'Linux llvm MUSL (amd64, riscv64)'
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue