diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c8a01600..3d60ea3ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,13 +77,13 @@ jobs: *-*-linux*.* urls.txt - linux-musl-debian-testing-llvm: + linux-glibc-debian-testing-gcc: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: 'build' run: | - export CW_CONFIG='${{ github.ref_name }}-linux-musl' + export CW_CONFIG='${{ github.ref_name }}-linux-gcc' export CW_REVISION='${{ github.sha }}' . ./_versions.sh docker trust inspect --pretty "${DOCKER_IMAGE}" @@ -99,19 +99,19 @@ jobs: run: cat urls.txt - uses: actions/upload-artifact@v3 with: - name: 'curl-linux-musl-debian-testing-llvm' + name: 'curl-linux-glibc-debian-testing-gcc' retention-days: 5 path: | *-*-linux*.* urls.txt - linux-musl-debian-bookworm-llvm: + linux-glibc-debian-bookworm-gcc: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: 'build' run: | - export CW_CONFIG='${{ github.ref_name }}-linux-musl' + export CW_CONFIG='${{ github.ref_name }}-linux-gcc' export CW_REVISION='${{ github.sha }}' DOCKER_IMAGE='debian:bookworm-slim' export CW_CCSUFFIX='-15' @@ -129,21 +129,21 @@ jobs: run: cat urls.txt - uses: actions/upload-artifact@v3 with: - name: 'curl-linux-musl-debian-bookworm-llvm' + name: 'curl-linux-glibc-debian-bookworm-gcc' retention-days: 5 path: | *-*-linux*.* urls.txt - linux-musl-alpine-llvm: + linux-musl-debian-testing-llvm: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: 'build' run: | - export CW_CONFIG='${{ github.ref_name }}-linux' + export CW_CONFIG='${{ github.ref_name }}-linux-musl' export CW_REVISION='${{ github.sha }}' - DOCKER_IMAGE='alpine:latest' + . ./_versions.sh docker trust inspect --pretty "${DOCKER_IMAGE}" time docker pull "${DOCKER_IMAGE}" docker images --digests @@ -151,27 +151,29 @@ jobs: --env-file <(env | grep -a -E \ '^(CW_|GITHUB_|DO_NOT_TRACK)') \ "${DOCKER_IMAGE}" \ - sh -c 'apk add --no-cache bash && ./_ci-linux-alpine.sh' + sh -c ./_ci-linux-debian.sh - name: 'list dependencies' run: cat urls.txt - uses: actions/upload-artifact@v3 with: - name: 'curl-linux-musl-alpine-llvm-x86_64' + name: 'curl-linux-musl-debian-testing-llvm' retention-days: 5 path: | *-*-linux*.* urls.txt - linux-musl-alpine-gcc: + linux-musl-debian-bookworm-llvm: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: 'build' run: | - export CW_CONFIG='${{ github.ref_name }}-linux-gcc' + export CW_CONFIG='${{ github.ref_name }}-linux-musl' export CW_REVISION='${{ github.sha }}' - DOCKER_IMAGE='alpine:latest' + DOCKER_IMAGE='debian:bookworm-slim' + export CW_CCSUFFIX='-15' + export CW_GCCSUFFIX='-12' docker trust inspect --pretty "${DOCKER_IMAGE}" time docker pull "${DOCKER_IMAGE}" docker images --digests @@ -179,92 +181,113 @@ jobs: --env-file <(env | grep -a -E \ '^(CW_|GITHUB_|DO_NOT_TRACK)') \ "${DOCKER_IMAGE}" \ - sh -c 'apk add --no-cache bash && ./_ci-linux-alpine.sh' + sh -c ./_ci-linux-debian.sh - name: 'list dependencies' run: cat urls.txt - uses: actions/upload-artifact@v3 with: - name: 'curl-linux-musl-alpine-gcc-x86_64' + name: 'curl-linux-musl-debian-bookworm-llvm' retention-days: 5 path: | *-*-linux*.* urls.txt - linux-musl-from-mac: - runs-on: macos-latest + linux-musl-debian-testing-gcc: + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: 'build' run: | - export CW_CONFIG='${{ github.ref_name }}-linux' + export CW_CONFIG='${{ github.ref_name }}-linux-musl-gcc' export CW_REVISION='${{ github.sha }}' - sh -c ./_ci-mac-homebrew.sh + . ./_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 - uses: actions/upload-artifact@v3 with: - name: 'curl-linux-musl-from-mac-x86_64' + name: 'curl-linux-musl-debian-testing-gcc' retention-days: 5 path: | *-*-linux*.* urls.txt - mac-clang: - runs-on: macos-latest + linux-musl-debian-bookworm-gcc: + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: 'build' run: | - export CW_CONFIG='${{ github.ref_name }}-mac-macuni' + export CW_CONFIG='${{ github.ref_name }}-linux-musl-gcc' export CW_REVISION='${{ github.sha }}' - sh -c ./_ci-mac-homebrew.sh + DOCKER_IMAGE='debian:bookworm-slim' + 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 - uses: actions/upload-artifact@v3 with: - name: 'curl-macos-universal-clang' + name: 'curl-linux-musl-debian-bookworm-gcc' retention-days: 5 path: | - *-*-macos*.* + *-*-linux*.* urls.txt - mac-llvm: - runs-on: macos-latest + linux-musl-alpine-llvm: + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: 'build' run: | - export CW_CONFIG='${{ github.ref_name }}-mac-macuni-llvm' + export CW_CONFIG='${{ github.ref_name }}-linux' export CW_REVISION='${{ github.sha }}' - sh -c ./_ci-mac-homebrew.sh + DOCKER_IMAGE='alpine:latest' + 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 'apk add --no-cache bash && ./_ci-linux-alpine.sh' - name: 'list dependencies' run: cat urls.txt - uses: actions/upload-artifact@v3 with: - name: 'curl-macos-universal-llvm' + name: 'curl-linux-musl-alpine-llvm-x86_64' retention-days: 5 path: | - *-*-macos*.* + *-*-linux*.* urls.txt - win-llvm: + linux-musl-alpine-gcc: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - fetch-depth: 8 - name: 'build' - env: - CW_LLVM_MINGW_DL: '1' - CW_LLVM_MINGW_ONLY: '0' run: | - export CW_CONFIG='${{ github.ref_name }}-win' + export CW_CONFIG='${{ github.ref_name }}-linux-gcc' export CW_REVISION='${{ github.sha }}' - . ./_versions.sh + DOCKER_IMAGE='alpine:latest' docker trust inspect --pretty "${DOCKER_IMAGE}" time docker pull "${DOCKER_IMAGE}" docker images --digests @@ -272,118 +295,90 @@ jobs: --env-file <(env | grep -a -E \ '^(CW_|GITHUB_|DO_NOT_TRACK)') \ "${DOCKER_IMAGE}" \ - sh -c ./_ci-linux-debian.sh + sh -c 'apk add --no-cache bash && ./_ci-linux-alpine.sh' - name: 'list dependencies' run: cat urls.txt - # https://github.com/actions/upload-artifact - uses: actions/upload-artifact@v3 with: - name: 'curl-windows-llvm' + name: 'curl-linux-musl-alpine-gcc-x86_64' retention-days: 5 path: | - *-*-mingw*.* + *-*-linux*.* urls.txt - win-gcc: - runs-on: ubuntu-latest + linux-musl-from-mac: + runs-on: macos-latest steps: - uses: actions/checkout@v4 - with: - fetch-depth: 8 - name: 'build' - env: - CW_LLVM_MINGW_DL: '1' - CW_LLVM_MINGW_ONLY: '0' run: | - export CW_CONFIG='${{ github.ref_name }}-win-gcc' + export CW_CONFIG='${{ github.ref_name }}-linux' export CW_REVISION='${{ github.sha }}' - . ./_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 + sh -c ./_ci-mac-homebrew.sh - name: 'list dependencies' run: cat urls.txt - # https://github.com/actions/upload-artifact - uses: actions/upload-artifact@v3 with: - name: 'curl-windows-gcc' + name: 'curl-linux-musl-from-mac-x86_64' retention-days: 5 path: | - *-*-mingw*.* + *-*-linux*.* urls.txt - linux-glibc-debian-testing-gcc: - runs-on: ubuntu-latest + mac-clang: + runs-on: macos-latest steps: - uses: actions/checkout@v4 - name: 'build' run: | - export CW_CONFIG='${{ github.ref_name }}-linux-gcc' + export CW_CONFIG='${{ github.ref_name }}-mac-macuni' export CW_REVISION='${{ github.sha }}' - . ./_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 + sh -c ./_ci-mac-homebrew.sh - name: 'list dependencies' run: cat urls.txt - uses: actions/upload-artifact@v3 with: - name: 'curl-linux-glibc-debian-testing-gcc' + name: 'curl-macos-universal-clang' retention-days: 5 path: | - *-*-linux*.* + *-*-macos*.* urls.txt - linux-glibc-debian-bookworm-gcc: - runs-on: ubuntu-latest + mac-llvm: + runs-on: macos-latest steps: - uses: actions/checkout@v4 - name: 'build' run: | - export CW_CONFIG='${{ github.ref_name }}-linux-gcc' + export CW_CONFIG='${{ github.ref_name }}-mac-macuni-llvm' export CW_REVISION='${{ github.sha }}' - DOCKER_IMAGE='debian:bookworm-slim' - 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 + sh -c ./_ci-mac-homebrew.sh - name: 'list dependencies' run: cat urls.txt - uses: actions/upload-artifact@v3 with: - name: 'curl-linux-glibc-debian-bookworm-gcc' + name: 'curl-macos-universal-llvm' retention-days: 5 path: | - *-*-linux*.* + *-*-macos*.* urls.txt - linux-musl-debian-testing-gcc: + win-llvm: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 8 - name: 'build' + env: + CW_LLVM_MINGW_DL: '1' + CW_LLVM_MINGW_ONLY: '0' run: | - export CW_CONFIG='${{ github.ref_name }}-linux-musl-gcc' + export CW_CONFIG='${{ github.ref_name }}-win' export CW_REVISION='${{ github.sha }}' . ./_versions.sh docker trust inspect --pretty "${DOCKER_IMAGE}" @@ -397,25 +392,29 @@ jobs: - name: 'list dependencies' run: cat urls.txt + # https://github.com/actions/upload-artifact - uses: actions/upload-artifact@v3 with: - name: 'curl-linux-musl-debian-testing-gcc' + name: 'curl-windows-llvm' retention-days: 5 path: | - *-*-linux*.* + *-*-mingw*.* urls.txt - linux-musl-debian-bookworm-gcc: + win-gcc: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 8 - name: 'build' + env: + CW_LLVM_MINGW_DL: '1' + CW_LLVM_MINGW_ONLY: '0' run: | - export CW_CONFIG='${{ github.ref_name }}-linux-musl-gcc' + export CW_CONFIG='${{ github.ref_name }}-win-gcc' export CW_REVISION='${{ github.sha }}' - DOCKER_IMAGE='debian:bookworm-slim' - export CW_CCSUFFIX='-15' - export CW_GCCSUFFIX='-12' + . ./_versions.sh docker trust inspect --pretty "${DOCKER_IMAGE}" time docker pull "${DOCKER_IMAGE}" docker images --digests @@ -427,10 +426,11 @@ jobs: - name: 'list dependencies' run: cat urls.txt + # https://github.com/actions/upload-artifact - uses: actions/upload-artifact@v3 with: - name: 'curl-linux-musl-debian-bookworm-gcc' + name: 'curl-windows-gcc' retention-days: 5 path: | - *-*-linux*.* + *-*-mingw*.* urls.txt