Skip to content

daily

daily #525

Workflow file for this run

# Copyright (C) Viktor Szakats. See LICENSE.md
# SPDX-License-Identifier: MIT
---
# https://docs.github.com/actions/learn-github-actions
name: daily
on:
schedule:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '29 20 * * *'
permissions: {}
env:
CW_MAP: '1'
CW_JOBS: '5'
CW_PKG_NODELETE: '1'
CW_PKG_FLATTEN: '1'
DO_NOT_TRACK: '1'
jobs:
linux-glibc:
if: ${{ github.repository_owner == 'curl' }}
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '300'
- name: 'build'
env:
GITHUB_TOKEN: '${{ github.token }}'
run: |
export CW_CONFIG='dev-linux'
export CW_REVISION="$(TZ=UTC date +'%Y%m%d')"
DOCKER_IMAGE='debian:bookworm-slim'
export DOCKER_CONTENT_TRUST=1
export CW_CCSUFFIX='-15'
export CW_GCCSUFFIX='-12'
docker trust inspect --pretty "${DOCKER_IMAGE}"
time docker pull "${DOCKER_IMAGE}"
docker images --digests
time docker run --volume "$(pwd):$(pwd)" --workdir "$(pwd)" \
--env-file <(env | grep -a -E \
'^(CW_|GITHUB_|DO_NOT_TRACK)') \
"${DOCKER_IMAGE}" \
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-glibc-daily-tool'
retention-days: 42
path: curl-*-*-*/curl*
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-glibc-daily'
retention-days: 42
path: |
*-*-linux*.*
urls.txt
linux-musl:
if: ${{ github.repository_owner == 'curl' }}
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '300'
- name: 'build'
env:
GITHUB_TOKEN: '${{ github.token }}'
run: |
export CW_CONFIG='dev-linux-a64-r64-x64-musl'
export CW_REVISION="$(TZ=UTC date +'%Y%m%d')"
. ./_versions.sh
docker trust inspect --pretty "${DOCKER_IMAGE}"
time docker pull "${DOCKER_IMAGE}"
docker images --digests
time docker run --volume "$(pwd):$(pwd)" --workdir "$(pwd)" \
--env-file <(env | grep -a -E \
'^(CW_|GITHUB_|DO_NOT_TRACK)') \
"${DOCKER_IMAGE}" \
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-musl-daily-tool'
retention-days: 42
path: curl-*-*-*/curl*
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-musl-daily'
retention-days: 42
path: |
*-*-linux*.*
urls.txt
mac:
if: ${{ github.repository_owner == 'curl' }}
runs-on: 'macos-latest'
timeout-minutes: 30
env:
CW_JOBS: '4'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '300'
- name: 'build'
env:
GITHUB_TOKEN: '${{ github.token }}'
run: |
export CW_CONFIG='dev-mac-macuni'
export CW_REVISION="$(TZ=UTC date +'%Y%m%d')"
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt *-version-*.txt || true
- uses: actions/upload-artifact@v4
with:
name: 'curl-macos-universal-daily-tool'
retention-days: 42
path: curl-*-universal-*/curl*
- uses: actions/upload-artifact@v4
with:
name: 'curl-macos-universal-daily'
retention-days: 42
path: |
*-*-macos*.*
urls.txt
win:
if: ${{ github.repository_owner == 'curl' }}
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '300'
- name: 'build'
env:
GITHUB_TOKEN: '${{ github.token }}'
CW_LLVM_MINGW_DL: '1'
CW_LLVM_MINGW_ONLY: '0'
run: |
export CW_CONFIG='dev-win'
export CW_REVISION="$(TZ=UTC date +'%Y%m%d')"
. ./_versions.sh
docker trust inspect --pretty "${DOCKER_IMAGE}"
time docker pull "${DOCKER_IMAGE}"
docker images --digests
time docker run --volume "$(pwd):$(pwd)" --workdir "$(pwd)" \
--env-file <(env | grep -a -E \
'^(CW_|GITHUB_|DO_NOT_TRACK)') \
"${DOCKER_IMAGE}" \
sh -c ./_ci-linux-debian.sh
- name: 'list dependencies'
run: cat urls.txt *-version-*.txt || true
# https://github.com/actions/upload-artifact
- uses: actions/upload-artifact@v4
with:
name: 'curl-windows-daily-tool'
retention-days: 42
path: curl-*-*-*/curl*
- uses: actions/upload-artifact@v4
with:
name: 'curl-windows-daily'
retention-days: 42
path: |
*-*-mingw*.*
urls.txt