mirror of
https://github.com/rust-lang/rust
synced 2024-09-15 22:50:55 +00:00
Auto merge of #74675 - pietroalbini:aarch64-ci-fallible, r=Mark-Simulacrum
Add fallible AArch64 CI builder This adds the `aarch64-gnu` CI builder to the `auto-fallible` job, as a first step in the process of actually gating on it. r? @Mark-Simulacrum
This commit is contained in:
commit
e8876ae2c1
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -577,6 +577,11 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
- name: aarch64-gnu
|
||||||
|
os:
|
||||||
|
- self-hosted
|
||||||
|
- ARM64
|
||||||
|
- linux
|
||||||
- name: dist-x86_64-apple
|
- name: dist-x86_64-apple
|
||||||
env:
|
env:
|
||||||
SCRIPT: "./x.py dist"
|
SCRIPT: "./x.py dist"
|
||||||
|
|
|
@ -84,6 +84,9 @@ x--expand-yaml-anchors--remove:
|
||||||
os: windows-latest-xl
|
os: windows-latest-xl
|
||||||
<<: *base-job
|
<<: *base-job
|
||||||
|
|
||||||
|
- &job-aarch64-linux
|
||||||
|
os: [self-hosted, ARM64, linux]
|
||||||
|
|
||||||
- &step
|
- &step
|
||||||
if: success() && !env.SKIP_JOB
|
if: success() && !env.SKIP_JOB
|
||||||
|
|
||||||
|
@ -586,6 +589,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
#############################
|
||||||
|
# Linux/Docker builders #
|
||||||
|
#############################
|
||||||
|
|
||||||
|
- name: aarch64-gnu
|
||||||
|
<<: *job-aarch64-linux
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# macOS Builders #
|
# macOS Builders #
|
||||||
####################
|
####################
|
||||||
|
|
|
@ -12,7 +12,7 @@ source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
|
||||||
if isWindows && isAzurePipelines; then
|
if isWindows && isAzurePipelines; then
|
||||||
cmd //c "mkdir c:\\MORE_SPACE"
|
cmd //c "mkdir c:\\MORE_SPACE"
|
||||||
cmd //c "mklink /J build c:\\MORE_SPACE"
|
cmd //c "mklink /J build c:\\MORE_SPACE"
|
||||||
elif isLinux && isGitHubActions; then
|
elif isLinux && isGitHubActions && ! isSelfHostedGitHubActions; then
|
||||||
sudo mkdir -p /mnt/more-space
|
sudo mkdir -p /mnt/more-space
|
||||||
sudo chown -R "$(whoami):" /mnt/more-space
|
sudo chown -R "$(whoami):" /mnt/more-space
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,11 @@ function isGitHubActions {
|
||||||
[[ "${GITHUB_ACTIONS-false}" = "true" ]]
|
[[ "${GITHUB_ACTIONS-false}" = "true" ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function isSelfHostedGitHubActions {
|
||||||
|
[[ "${RUST_GHA_SELF_HOSTED-false}" = "true" ]]
|
||||||
|
}
|
||||||
|
|
||||||
function isMacOS {
|
function isMacOS {
|
||||||
[[ "${OSTYPE}" = "darwin"* ]]
|
[[ "${OSTYPE}" = "darwin"* ]]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue