Skip to content

_ci-mac-homebrew.sh install jq for AppVeyor CI runner #975

_ci-mac-homebrew.sh install jq for AppVeyor CI runner

_ci-mac-homebrew.sh install jq for AppVeyor CI runner #975

Workflow file for this run

# Copyright (C) Viktor Szakats. See LICENSE.md
# SPDX-License-Identifier: MIT
---
# https://docs.github.com/actions/learn-github-actions
# https://github.com/actions/upload-artifact
name: build
'on':
push:
branches:
- main
- dev
- test
concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true
permissions: {}
env:
GITHUB_TOKEN: '${{ github.token }}'
CW_MAP: '1'
CW_JOBS: '5'
DO_NOT_TRACK: '1'
jobs:
reuse-check:
name: 'REUSE check'
runs-on: 'ubuntu-latest'
timeout-minutes: 5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: 'check'
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5
spellcheck:
name: 'spellcheck'
runs-on: 'ubuntu-latest'
timeout-minutes: 5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: 'install tools'
run: pip install --break-system-packages -U codespell
- name: 'spellcheck'
run: |
codespell --version
# shellcheck disable=SC2046
codespell --skip='*.asc,*.patch,*.pem' \
--ignore-words '.github/workflows/codespell-ignore.txt' \
$(git ls-files)
miscchecks:
name: 'misc checks'
runs-on: 'ubuntu-latest'
timeout-minutes: 5
steps:
- name: 'install prereqs'
run: /home/linuxbrew/.linuxbrew/bin/brew install shellcheck zizmor
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: 'zizmor GHA'
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
zizmor --pedantic .github/workflows/*.yml
- name: 'shellcheck GHA'
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
shellcheck --version
export SHELLCHECK_OPTS='--exclude=1090,1091,2086,2153 --enable=avoid-nullary-conditions,deprecate-which'
git ls-files '.github/workflows/*.yml' | while read -r f; do
echo "Verifying ${f}..."
{
echo '#!/usr/bin/env bash'
echo 'set -eu'
yq eval '.. | select(has("run") and (.run | type == "!!str")) | .run + "\ntrue\n"' "${f}"
} | sed -E 's|\$\{\{ .+ \}\}|GHA_EXPRESSION|g' | shellcheck -
done
- name: 'shellcheck'
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
shellcheck --version
shellcheck --exclude=1091 \
--enable=avoid-nullary-conditions,deprecate-which,quote-safe-variables,require-variable-braces \
./*.sh
linux-glibc-debian-testing-llvm:
name: 'linux-glibc-debian-testing-llvm'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-linux-a64-x64"
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_|COSIGN_|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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-linux-glibc-debian-testing-llvm'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-linux*.*
urls.txt
linux-glibc-debian-testing-gcc:
name: 'linux-glibc-debian-testing-gcc'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-linux-a64-r64-x64-gcc"
export CW_REVISION="${GITHUB_SHA}"
. ./_versions.sh
export CW_GCCSUFFIX='-14'
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_|COSIGN_|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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-linux-glibc-debian-testing-gcc'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-linux*.*
urls.txt
linux-glibc-debian-bookworm-llvm:
name: 'linux-glibc-debian-bookworm-llvm'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-linux"
export CW_REVISION="${GITHUB_SHA}"
DOCKER_IMAGE='debian:bookworm-slim'
export CW_CCSUFFIX='-15'
export CW_GCCSUFFIX='-12'
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_|COSIGN_|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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-linux-glibc-debian-bookworm-llvm'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-linux*.*
urls.txt
linux-glibc-debian-bookworm-gcc:
name: 'linux-glibc-debian-bookworm-gcc'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-linux-gcc"
export CW_REVISION="${GITHUB_SHA}"
DOCKER_IMAGE='debian:bookworm-slim'
export CW_CCSUFFIX='-15'
export CW_GCCSUFFIX='-12'
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_|COSIGN_|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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-linux-glibc-debian-bookworm-gcc'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-linux*.*
urls.txt
linux-musl-debian-testing-llvm:
name: 'linux-musl-debian-testing-llvm'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-linux-a64-r64-x64-musl"
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_|COSIGN_|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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-linux-musl-debian-testing-llvm'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-linux*.*
urls.txt
linux-musl-debian-testing-gcc:
name: 'linux-musl-debian-testing-gcc'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-linux-a64-r64-x64-musl-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_|COSIGN_|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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-linux-musl-debian-testing-gcc'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-linux*.*
urls.txt
linux-musl-debian-bookworm-llvm:
name: 'linux-musl-debian-bookworm-llvm'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-linux-musl"
export CW_REVISION="${GITHUB_SHA}"
DOCKER_IMAGE='debian:bookworm-slim'
export CW_CCSUFFIX='-15'
export CW_GCCSUFFIX='-12'
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_|COSIGN_|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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-linux-musl-debian-bookworm-llvm'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-linux*.*
urls.txt
linux-musl-debian-bookworm-gcc:
name: 'linux-musl-debian-bookworm-gcc'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-linux-musl-gcc"
export CW_REVISION="${GITHUB_SHA}"
DOCKER_IMAGE='debian:bookworm-slim'
export CW_CCSUFFIX='-15'
export CW_GCCSUFFIX='-12'
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_|COSIGN_|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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-linux-musl-debian-bookworm-gcc'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-linux*.*
urls.txt
linux-musl-alpine-llvm:
name: 'linux-musl-alpine-llvm'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-linux"
export CW_REVISION="${GITHUB_SHA}"
DOCKER_IMAGE='alpine:latest'
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_|COSIGN_|GITHUB_|DO_NOT_TRACK)') \
"${DOCKER_IMAGE}" \
sh -c 'apk add --no-cache bash && ./_ci-linux-alpine.sh'
- name: 'list dependencies'
run: cat urls.txt ./*-version-*.txt || true
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-linux-musl-alpine-llvm-x86_64'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-linux*.*
urls.txt
linux-musl-alpine-gcc:
name: 'linux-musl-alpine-gcc'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-linux-gcc"
export CW_REVISION="${GITHUB_SHA}"
DOCKER_IMAGE='alpine:latest'
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_|COSIGN_|GITHUB_|DO_NOT_TRACK)') \
"${DOCKER_IMAGE}" \
sh -c 'apk add --no-cache bash && ./_ci-linux-alpine.sh'
- name: 'list dependencies'
run: cat urls.txt ./*-version-*.txt || true
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-linux-musl-alpine-gcc-x86_64'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-linux*.*
urls.txt
linux-musl-from-mac:
name: 'linux-musl-from-mac'
runs-on: 'macos-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-linux"
export CW_REVISION="${GITHUB_SHA}"
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt ./*-version-*.txt || true
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-linux-musl-from-mac'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-linux*.*
urls.txt
mac-clang:
name: 'mac-clang'
runs-on: 'macos-latest'
timeout-minutes: 30
env:
CW_JOBS: '4'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-mac-macuni"
export CW_REVISION="${GITHUB_SHA}"
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt ./*-version-*.txt || true
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-macos-universal-clang'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-macos*.*
urls.txt
mac-llvm:
name: 'mac-llvm'
runs-on: 'macos-latest'
timeout-minutes: 30
env:
CW_JOBS: '4'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-mac-macuni-llvm"
export CW_REVISION="${GITHUB_SHA}"
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt ./*-version-*.txt || true
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-macos-universal-llvm'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-macos*.*
urls.txt
mac-gcc:
name: 'mac-gcc'
runs-on: 'macos-latest'
timeout-minutes: 30
env:
CW_JOBS: '4'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
run: |
export CW_CCSUFFIX='-15'
export CW_CONFIG="${GITHUB_REF_NAME}-werror-mac-gcc-a64"
export CW_REVISION="${GITHUB_SHA}"
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt ./*-version-*.txt || true
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-macos-gcc-arm64'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-macos*.*
urls.txt
win-llvm-from-mac:
name: 'win-llvm-from-mac'
runs-on: 'macos-latest'
timeout-minutes: 30
env:
CW_JOBS: '4'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
CW_LLVM_MINGW_DL: '1'
CW_LLVM_MINGW_ONLY: '0'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-win"
export CW_REVISION="${GITHUB_SHA}"
. ./_versions.sh
sh -c ./_ci-mac-homebrew.sh
- name: 'list dependencies'
run: cat urls.txt ./*-version-*.txt || true
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-windows-llvm-from-mac'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-mingw*.*
urls.txt
win-llvm:
name: 'win-llvm'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
CW_LLVM_MINGW_DL: '1'
CW_LLVM_MINGW_ONLY: '0'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-win"
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_|COSIGN_|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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-windows-llvm'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-mingw*.*
urls.txt
win-gcc:
name: 'win-gcc'
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
fetch-depth: '300'
- name: 'build'
env:
COSIGN_PKG_GPG_PASS: '${{ secrets.COSIGN_PKG_GPG_PASS }}'
COSIGN_PKG_KEY_PASS: '${{ secrets.COSIGN_PKG_KEY_PASS }}'
CW_LLVM_MINGW_DL: '1'
CW_LLVM_MINGW_ONLY: '0'
run: |
export CW_CONFIG="${GITHUB_REF_NAME}-werror-win-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_|COSIGN_|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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: 'curl-windows-gcc-x64'
retention-days: ${{ github.ref_name == 'main' && 90 || 5 }}
path: |
*-*-mingw*.*
urls.txt