CI: switch 7 linux jobs to free runners
This commit is contained in:
parent
20c909ff9c
commit
02b34154fd
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -110,11 +110,7 @@ jobs:
|
||||
# less disk space.
|
||||
- name: free up disk space
|
||||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
|
||||
if: contains(matrix.os, 'ubuntu')
|
||||
with:
|
||||
# Removing packages with APT saves ~5 GiB, but takes several
|
||||
# minutes (and potentially removes important packages).
|
||||
large-packages: false
|
||||
if: matrix.free_disk
|
||||
|
||||
# Rust Log Analyzer can't currently detect the PR number of a GitHub
|
||||
# Actions build on its own, so a hint in the log message is needed to
|
||||
|
@ -6,6 +6,8 @@ runners:
|
||||
|
||||
- &job-linux-4c
|
||||
os: ubuntu-20.04
|
||||
# Free some disk space to avoid running out of space during the build.
|
||||
free_disk: true
|
||||
<<: *base-job
|
||||
|
||||
# Large runner used mainly for its bigger disk capacity
|
||||
@ -135,7 +137,7 @@ auto:
|
||||
- image: dist-aarch64-linux
|
||||
env:
|
||||
CODEGEN_BACKENDS: llvm,cranelift
|
||||
<<: *job-linux-4c-largedisk
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: dist-android
|
||||
<<: *job-linux-4c
|
||||
@ -156,28 +158,28 @@ auto:
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: dist-loongarch64-linux
|
||||
<<: *job-linux-4c-largedisk
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: dist-loongarch64-musl
|
||||
<<: *job-linux-4c-largedisk
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: dist-ohos
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: dist-powerpc-linux
|
||||
<<: *job-linux-4c-largedisk
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: dist-powerpc64-linux
|
||||
<<: *job-linux-4c-largedisk
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: dist-powerpc64le-linux
|
||||
<<: *job-linux-4c-largedisk
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: dist-riscv64-linux
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: dist-s390x-linux
|
||||
<<: *job-linux-4c-largedisk
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: dist-various-1
|
||||
<<: *job-linux-4c
|
||||
|
Loading…
Reference in New Issue
Block a user