Update circleci xcode version (#9405)

Summary:
xcode 11.3.1 is deprecated https://circleci.com/docs/2.0/testing-ios/ , jobs are failing:
```
failed to create host: Image xcode:11.3.0 is not supported
```

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9405

Test Plan: CI

Reviewed By: ajkr, hx235

Differential Revision: D33674462

Pulled By: jay-zhuang

fbshipit-source-id: 85dd27aad84d26eaaa5c5375015344182b2c50b9
This commit is contained in:
Jay Zhuang 2022-01-20 09:40:34 -08:00 committed by Facebook GitHub Bot
parent 93a0e9f3fa
commit cd50078ae0

View File

@ -162,8 +162,10 @@ executors:
jobs: jobs:
build-macos: build-macos:
macos: macos:
xcode: 11.3.0 xcode: 12.5.1
resource_class: large resource_class: large
environment:
DISABLE_JEMALLOC: 1 # jemalloc cause env_test hang, disable it for now
steps: steps:
- increase-max-open-files-on-macos - increase-max-open-files-on-macos
- install-pyenv-on-macos - install-pyenv-on-macos
@ -174,7 +176,7 @@ jobs:
build-macos-cmake: build-macos-cmake:
macos: macos:
xcode: 11.3.0 xcode: 12.5.1
resource_class: large resource_class: large
steps: steps:
- increase-max-open-files-on-macos - increase-max-open-files-on-macos
@ -550,14 +552,16 @@ jobs:
build-macos-java: build-macos-java:
macos: macos:
xcode: 11.3.0 xcode: 12.5.1
resource_class: medium resource_class: medium
environment: environment:
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
DISABLE_JEMALLOC: 1 # jemalloc causes java 8 crash, maybe a known issue
steps: steps:
- increase-max-open-files-on-macos - increase-max-open-files-on-macos
- install-pyenv-on-macos - install-pyenv-on-macos
- install-gflags-on-macos - install-gflags-on-macos
- install-jdk8-on-macos
- pre-steps-macos - pre-steps-macos
- run: - run:
name: "Set Java Environment" name: "Set Java Environment"