diff --git a/.bazelrc b/.bazelrc index 020cf30..68e6018 100644 --- a/.bazelrc +++ b/.bazelrc @@ -2,6 +2,4 @@ import %workspace%/envoy/.bazelrc build --platform_mappings=envoy/bazel/platform_mappings -build --action_env=GOPROXY=https://goproxy.cn,direct -test --action_env=GOPROXY=https://goproxy.cn,direct -run --action_env=GOPROXY=https://goproxy.cn,direc +build:linux --copt=-Wno-uninitialized diff --git a/.bazelversion b/.bazelversion index 09b254e..ade6522 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.0.0 +5.4.1 diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..53030db --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,31 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/configuration-reference +version: 2.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/configuration-reference/#jobs +jobs: + build-envoy: + docker: + - image: secretflow/ubuntu-base-ci:latest + resource_class: 2xlarge + shell: /bin/bash --login -eo pipefail + steps: + - checkout + - run: + name: Build envoy + command: | + git submodule update --init + git config --global --add safe.directory ./ + bazel build //:envoy -c opt --ui_event_filters=-info,-debug,-warning --jobs 16 + mkdir -p build_apps + mv bazel-bin/envoy build_apps + - store_artifacts: + path: build_apps + +# Orchestrate jobs using workflows +# See: https://circleci.com/docs/configuration-reference/#workflows +workflows: + build-workflow: + jobs: + - build-envoy