mirror of https://github.com/facebook/rocksdb.git
Circleci macos sunset (#11633)
Summary: [draft] this PR is created in order to test CI changes Closes: https://github.com/facebook/rocksdb/pull/11543 Pull Request resolved: https://github.com/facebook/rocksdb/pull/11633 Reviewed By: akankshamahajan15 Differential Revision: D48525552 Pulled By: cbi42 fbshipit-source-id: 758d57f248304213228af459789459cc2f0bf419
This commit is contained in:
parent
f53018c0c8
commit
a9770b185d
|
@ -16,7 +16,8 @@ commands:
|
||||||
- run:
|
- run:
|
||||||
name: Install JDK 8 on macos
|
name: Install JDK 8 on macos
|
||||||
command: |
|
command: |
|
||||||
brew install --cask adoptopenjdk/openjdk/adoptopenjdk8
|
HOMEBREW_NO_AUTO_UPDATE=1 brew tap bell-sw/liberica
|
||||||
|
HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask liberica-jdk8
|
||||||
|
|
||||||
increase-max-open-files-on-macos:
|
increase-max-open-files-on-macos:
|
||||||
steps:
|
steps:
|
||||||
|
@ -209,21 +210,21 @@ executors:
|
||||||
jobs:
|
jobs:
|
||||||
build-macos:
|
build-macos:
|
||||||
macos:
|
macos:
|
||||||
xcode: 12.5.1
|
xcode: 14.3.1
|
||||||
resource_class: large
|
resource_class: macos.m1.medium.gen1
|
||||||
environment:
|
environment:
|
||||||
ROCKSDB_DISABLE_JEMALLOC: 1 # jemalloc cause env_test hang, disable it for now
|
ROCKSDB_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-gflags-on-macos
|
- install-gflags-on-macos
|
||||||
- pre-steps-macos
|
- pre-steps-macos
|
||||||
- run: ulimit -S -n `ulimit -H -n` && OPT=-DCIRCLECI make V=1 J=32 -j32 all
|
- run: ulimit -S -n `ulimit -H -n` && OPT=-DCIRCLECI make V=1 J=16 -j16 all
|
||||||
- post-steps
|
- post-steps
|
||||||
|
|
||||||
build-macos-cmake:
|
build-macos-cmake:
|
||||||
macos:
|
macos:
|
||||||
xcode: 12.5.1
|
xcode: 14.3.1
|
||||||
resource_class: large
|
resource_class: macos.m1.medium.gen1
|
||||||
parameters:
|
parameters:
|
||||||
run_even_tests:
|
run_even_tests:
|
||||||
description: run even or odd tests, used to split tests to 2 groups
|
description: run even or odd tests, used to split tests to 2 groups
|
||||||
|
@ -239,20 +240,20 @@ jobs:
|
||||||
command: ulimit -S -n `ulimit -H -n` && mkdir build && cd build && cmake -DWITH_GFLAGS=1 ..
|
command: ulimit -S -n `ulimit -H -n` && mkdir build && cd build && cmake -DWITH_GFLAGS=1 ..
|
||||||
- run:
|
- run:
|
||||||
name: "Build tests"
|
name: "Build tests"
|
||||||
command: cd build && make V=1 -j32
|
command: cd build && make V=1 -j16
|
||||||
- when:
|
- when:
|
||||||
condition: << parameters.run_even_tests >>
|
condition: << parameters.run_even_tests >>
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: "Run even tests"
|
name: "Run even tests"
|
||||||
command: ulimit -S -n `ulimit -H -n` && cd build && ctest -j32 -I 0,,2
|
command: ulimit -S -n `ulimit -H -n` && cd build && ctest -j16 -I 0,,2
|
||||||
- when:
|
- when:
|
||||||
condition:
|
condition:
|
||||||
not: << parameters.run_even_tests >>
|
not: << parameters.run_even_tests >>
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: "Run odd tests"
|
name: "Run odd tests"
|
||||||
command: ulimit -S -n `ulimit -H -n` && cd build && ctest -j32 -I 1,,2
|
command: ulimit -S -n `ulimit -H -n` && cd build && ctest -j16 -I 1,,2
|
||||||
- post-steps
|
- post-steps
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
|
@ -607,10 +608,10 @@ jobs:
|
||||||
|
|
||||||
build-macos-java:
|
build-macos-java:
|
||||||
macos:
|
macos:
|
||||||
xcode: 12.5.1
|
xcode: 14.3.1
|
||||||
resource_class: large
|
resource_class: macos.m1.medium.gen1
|
||||||
environment:
|
environment:
|
||||||
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
|
JAVA_HOME: /Library/Java/JavaVirtualMachines/liberica-jdk-8.jdk/Contents/Home
|
||||||
ROCKSDB_DISABLE_JEMALLOC: 1 # jemalloc causes java 8 crash
|
ROCKSDB_DISABLE_JEMALLOC: 1 # jemalloc causes java 8 crash
|
||||||
steps:
|
steps:
|
||||||
- increase-max-open-files-on-macos
|
- increase-max-open-files-on-macos
|
||||||
|
@ -632,10 +633,10 @@ jobs:
|
||||||
|
|
||||||
build-macos-java-static:
|
build-macos-java-static:
|
||||||
macos:
|
macos:
|
||||||
xcode: 12.5.1
|
xcode: 14.3.1
|
||||||
resource_class: large
|
resource_class: macos.m1.medium.gen1
|
||||||
environment:
|
environment:
|
||||||
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
|
JAVA_HOME: /Library/Java/JavaVirtualMachines/liberica-jdk-8.jdk/Contents/Home
|
||||||
steps:
|
steps:
|
||||||
- increase-max-open-files-on-macos
|
- increase-max-open-files-on-macos
|
||||||
- install-gflags-on-macos
|
- install-gflags-on-macos
|
||||||
|
@ -657,10 +658,10 @@ jobs:
|
||||||
|
|
||||||
build-macos-java-static-universal:
|
build-macos-java-static-universal:
|
||||||
macos:
|
macos:
|
||||||
xcode: 12.5.1
|
xcode: 14.3.1
|
||||||
resource_class: large
|
resource_class: macos.m1.medium.gen1
|
||||||
environment:
|
environment:
|
||||||
JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
|
JAVA_HOME: /Library/Java/JavaVirtualMachines/liberica-jdk-8.jdk/Contents/Home
|
||||||
steps:
|
steps:
|
||||||
- increase-max-open-files-on-macos
|
- increase-max-open-files-on-macos
|
||||||
- install-gflags-on-macos
|
- install-gflags-on-macos
|
||||||
|
|
Loading…
Reference in New Issue