Skip to content

Commit 2f914bf

Browse files
authored
Rollup merge of #68863 - pietroalbini:azure-macos-10.15, r=Mark-Simulacrum
ci: switch macOS builders to 10.15 Azure Pipelines is deprecating the macOS 10.13 image we're currently running, [and they plan to remove them](https://devblogs.microsoft.com/devops/removing-older-images-in-azure-pipelines-hosted-pools/) on March 23, 2020. This PR switches our macOS builders to macOS 10.15. r? @Mark-Simulacrum
2 parents 7710ae0 + 79c166e commit 2f914bf

File tree

6 files changed

+5
-24
lines changed

6 files changed

+5
-24
lines changed

src/bootstrap/test.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1051,10 +1051,10 @@ impl Step for Compiletest {
10511051
cmd.arg("--docck-python").arg(builder.python());
10521052

10531053
if builder.config.build.ends_with("apple-darwin") {
1054-
// Force /usr/bin/python on macOS for LLDB tests because we're loading the
1054+
// Force /usr/bin/python3 on macOS for LLDB tests because we're loading the
10551055
// LLDB plugin's compiled module which only works with the system python
10561056
// (namely not Homebrew-installed python)
1057-
cmd.arg("--lldb-python").arg("/usr/bin/python");
1057+
cmd.arg("--lldb-python").arg("/usr/bin/python3");
10581058
} else {
10591059
cmd.arg("--lldb-python").arg(builder.python());
10601060
}

src/ci/azure-pipelines/auto.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- job: macOS
6464
timeoutInMinutes: 600
6565
pool:
66-
vmImage: macos-10.13
66+
vmImage: macos-10.15
6767
steps:
6868
- template: steps/run.yml
6969
strategy:

src/ci/azure-pipelines/steps/run.yml

-4
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ steps:
5151
displayName: Install clang
5252
condition: and(succeeded(), not(variables.SKIP_JOB))
5353

54-
- bash: src/ci/scripts/switch-xcode.sh
55-
displayName: Switch to Xcode 9.3
56-
condition: and(succeeded(), not(variables.SKIP_JOB))
57-
5854
- bash: src/ci/scripts/install-wix.sh
5955
displayName: Install wix
6056
condition: and(succeeded(), not(variables.SKIP_JOB))

src/ci/azure-pipelines/try.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# - job: macOS
2626
# timeoutInMinutes: 600
2727
# pool:
28-
# vmImage: macos-10.13
28+
# vmImage: macos-10.15
2929
# steps:
3030
# - template: steps/run.yml
3131
# strategy:

src/ci/scripts/install-clang.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ if isMacOS; then
1919
# native clang is configured to use the correct path, but our custom one
2020
# doesn't. This sets the SDKROOT environment variable to the SDK so that
2121
# our own clang can figure out the correct include path on its own.
22-
if ! [[ -d "/usr/include" ]]; then
23-
ciCommandSetEnv SDKROOT "$(xcrun --sdk macosx --show-sdk-path)"
24-
fi
22+
ciCommandSetEnv SDKROOT "$(xcrun --sdk macosx --show-sdk-path)"
2523

2624
# Configure `AR` specifically so rustbuild doesn't try to infer it as
2725
# `clang-ar` by accident.

src/ci/scripts/switch-xcode.sh

-13
This file was deleted.

0 commit comments

Comments
 (0)