Skip to content

Commit

Permalink
merge riscv64 jobs into arm/intel testing ones
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Aug 26, 2024
1 parent 9874cdf commit f0bee31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 179 deletions.
140 changes: 4 additions & 136 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
fetch-depth: '300'
- name: 'build'
run: |
export CW_CONFIG='${{ github.ref_name }}-linux'
export CW_CONFIG='${{ github.ref_name }}-linux-a64-r64-x64'
export CW_REVISION='${{ github.sha }}'
. ./_versions.sh
docker trust inspect --pretty "${DOCKER_IMAGE}"
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
fetch-depth: '300'
- name: 'build'
run: |
export CW_CONFIG='${{ github.ref_name }}-linux-gcc'
export CW_CONFIG='${{ github.ref_name }}-linux-a64-r64-x64-gcc'
export CW_REVISION='${{ github.sha }}'
. ./_versions.sh
export CW_GCCSUFFIX='-14'
Expand Down Expand Up @@ -189,72 +189,6 @@ jobs:
*-*-linux*.*
urls.txt
linux-glibc-debian-testing-llvm-riscv64:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '300'
- name: 'build'
run: |
export CW_CONFIG='${{ github.ref_name }}-linux-r64'
export CW_REVISION='${{ github.sha }}'
DOCKER_IMAGE='debian:testing-slim'
export CW_CCSUFFIX='-18'
export CW_GCCSUFFIX='-14'
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@v4
with:
name: 'curl-linux-glibc-debian-testing-llvm-riscv64'
retention-days: 5
path: |
*-*-linux*.*
urls.txt
linux-glibc-debian-testing-gcc-riscv64:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '300'
- name: 'build'
run: |
export CW_CONFIG='${{ github.ref_name }}-linux-gcc-r64'
export CW_REVISION='${{ github.sha }}'
DOCKER_IMAGE='debian:testing-slim'
export CW_CCSUFFIX='-18'
export CW_GCCSUFFIX='-14'
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@v4
with:
name: 'curl-linux-glibc-debian-testing-gcc-riscv64'
retention-days: 5
path: |
*-*-linux*.*
urls.txt
linux-musl-debian-testing-llvm:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand All @@ -264,7 +198,7 @@ jobs:
fetch-depth: '300'
- name: 'build'
run: |
export CW_CONFIG='${{ github.ref_name }}-linux-musl'
export CW_CONFIG='${{ github.ref_name }}-linux-a64-r64-x64-musl'
export CW_REVISION='${{ github.sha }}'
. ./_versions.sh
docker trust inspect --pretty "${DOCKER_IMAGE}"
Expand Down Expand Up @@ -295,7 +229,7 @@ jobs:
fetch-depth: '300'
- name: 'build'
run: |
export CW_CONFIG='${{ github.ref_name }}-linux-musl-gcc'
export CW_CONFIG='${{ github.ref_name }}-linux-a64-r64-x64-musl-gcc'
export CW_REVISION='${{ github.sha }}'
. ./_versions.sh
docker trust inspect --pretty "${DOCKER_IMAGE}"
Expand Down Expand Up @@ -383,72 +317,6 @@ jobs:
*-*-linux*.*
urls.txt
linux-musl-debian-testing-llvm-riscv64:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '300'
- name: 'build'
run: |
export CW_CONFIG='${{ github.ref_name }}-linux-musl-r64'
export CW_REVISION='${{ github.sha }}'
DOCKER_IMAGE='debian:testing-slim'
export CW_CCSUFFIX='-18'
export CW_GCCSUFFIX='-14'
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@v4
with:
name: 'curl-linux-musl-debian-testing-llvm-riscv64'
retention-days: 5
path: |
*-*-linux*.*
urls.txt
linux-musl-debian-testing-gcc-riscv64:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '300'
- name: 'build'
run: |
export CW_CONFIG='${{ github.ref_name }}-linux-musl-gcc-r64'
export CW_REVISION='${{ github.sha }}'
DOCKER_IMAGE='debian:testing-slim'
export CW_CCSUFFIX='-18'
export CW_GCCSUFFIX='-14'
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@v4
with:
name: 'curl-linux-musl-debian-testing-gcc-riscv64'
retention-days: 5
path: |
*-*-linux*.*
urls.txt
linux-musl-alpine-llvm:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down
45 changes: 2 additions & 43 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
env:
GITHUB_TOKEN: '${{ github.token }}'
run: |
export CW_CONFIG='dev-linux'
export CW_CONFIG='dev-linux-a64-r64-x64'
export CW_REVISION="$(TZ=UTC date +'%Y%m%d')"
DOCKER_IMAGE='debian:bookworm-slim'
export CW_CCSUFFIX='-15'
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
env:
GITHUB_TOKEN: '${{ github.token }}'
run: |
export CW_CONFIG='dev-linux-musl'
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}"
Expand All @@ -99,47 +99,6 @@ jobs:
*-*-linux*.*
urls.txt
linux-musl-riscv64:
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-musl-r64'
export CW_REVISION="$(TZ=UTC date +'%Y%m%d')"
DOCKER_IMAGE='debian:sid-slim'
export CW_CCSUFFIX='-18'
export CW_GCCSUFFIX='-14'
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@v4
with:
name: 'curl-linux-musl-riscv64-daily-tool'
retention-days: 42
path: curl-*-*-*/curl*
- uses: actions/upload-artifact@v4
with:
name: 'curl-linux-musl-riscv64-daily'
retention-days: 42
path: |
*-*-linux*.*
urls.txt
mac:
if: ${{ github.repository_owner == 'curl' }}
runs-on: macos-latest
Expand Down

0 comments on commit f0bee31

Please sign in to comment.