From a7feebd67096496abaf631d434113d5654c01257 Mon Sep 17 00:00:00 2001 From: Akanksha Mahajan Date: Wed, 15 Jul 2020 17:46:18 -0700 Subject: [PATCH] Add "build-examples" in CircleCI (#7136) Summary: Add "examples" build (which build examples folder in rocksdb) in TravisCI to CircleCI. This is helpful before pull request. Pull Request resolved: https://github.com/facebook/rocksdb/pull/7136 Test Plan: Watch for CircleCI results to succeed Reviewed By: jay-zhuang Differential Revision: D22555528 Pulled By: akankshamahajan15 fbshipit-source-id: 6bca16647760d5f0131f064765fe9e88e034c578 --- .circleci/config.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 969cb460b..16dcd9785 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -230,6 +230,19 @@ jobs: which javac && javac -version SKIP_FORMAT_BUCK_CHECKS=1 PRINT_PARALLEL_OUTPUTS=1 make V=1 J=32 -j32 rocksdbjava jtest | .circleci/cat_ignore_eagain + build-examples: + machine: + image: ubuntu-1604:201903-01 + resource_class: medium + steps: + - checkout # check out the code in the project directory + - run: pyenv global 3.5.2 + - run: sudo apt-get update -y && sudo apt-get install -y libgflags-dev + - run: + name: "Build examples" + command: | + OPT=-DTRAVIS V=1 make -j4 static_lib && cd examples && make -j4 | ../.circleci/cat_ignore_eagain + workflows: build-linux: jobs: @@ -290,3 +303,6 @@ workflows: build-java: jobs: - build-linux-java + build-examples: + jobs: + - build-examples -- GitLab