ci: switch macOS builders to 10.15
This commit is contained in:
parent
75b98fbe77
commit
79c166ef73
@ -1051,10 +1051,10 @@ fn run(self, builder: &Builder<'_>) {
|
||||
cmd.arg("--docck-python").arg(builder.python());
|
||||
|
||||
if builder.config.build.ends_with("apple-darwin") {
|
||||
// Force /usr/bin/python on macOS for LLDB tests because we're loading the
|
||||
// Force /usr/bin/python3 on macOS for LLDB tests because we're loading the
|
||||
// LLDB plugin's compiled module which only works with the system python
|
||||
// (namely not Homebrew-installed python)
|
||||
cmd.arg("--lldb-python").arg("/usr/bin/python");
|
||||
cmd.arg("--lldb-python").arg("/usr/bin/python3");
|
||||
} else {
|
||||
cmd.arg("--lldb-python").arg(builder.python());
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ jobs:
|
||||
- job: macOS
|
||||
timeoutInMinutes: 600
|
||||
pool:
|
||||
vmImage: macos-10.13
|
||||
vmImage: macos-10.15
|
||||
steps:
|
||||
- template: steps/run.yml
|
||||
strategy:
|
||||
|
@ -48,10 +48,6 @@ steps:
|
||||
displayName: Install clang
|
||||
condition: and(succeeded(), not(variables.SKIP_JOB))
|
||||
|
||||
- bash: src/ci/scripts/switch-xcode.sh
|
||||
displayName: Switch to Xcode 9.3
|
||||
condition: and(succeeded(), not(variables.SKIP_JOB))
|
||||
|
||||
- bash: src/ci/scripts/install-wix.sh
|
||||
displayName: Install wix
|
||||
condition: and(succeeded(), not(variables.SKIP_JOB))
|
||||
|
@ -25,7 +25,7 @@ jobs:
|
||||
# - job: macOS
|
||||
# timeoutInMinutes: 600
|
||||
# pool:
|
||||
# vmImage: macos-10.13
|
||||
# vmImage: macos-10.15
|
||||
# steps:
|
||||
# - template: steps/run.yml
|
||||
# strategy:
|
||||
|
@ -19,9 +19,7 @@ if isMacOS; then
|
||||
# native clang is configured to use the correct path, but our custom one
|
||||
# doesn't. This sets the SDKROOT environment variable to the SDK so that
|
||||
# our own clang can figure out the correct include path on its own.
|
||||
if ! [[ -d "/usr/include" ]]; then
|
||||
ciCommandSetEnv SDKROOT "$(xcrun --sdk macosx --show-sdk-path)"
|
||||
fi
|
||||
ciCommandSetEnv SDKROOT "$(xcrun --sdk macosx --show-sdk-path)"
|
||||
|
||||
# Configure `AR` specifically so rustbuild doesn't try to infer it as
|
||||
# `clang-ar` by accident.
|
||||
|
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Switch to XCode 9.3 on OSX since it seems to be the last version that supports
|
||||
# i686-apple-darwin. We'll eventually want to upgrade this and it will probably
|
||||
# force us to drop i686-apple-darwin, but let's keep the wheels turning for now.
|
||||
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
|
||||
|
||||
if isMacOS; then
|
||||
sudo xcode-select --switch /Applications/Xcode_9.3.app
|
||||
fi
|
Loading…
Reference in New Issue
Block a user