From 7a8a0def8115937a6716431de8a3e2b1696ce36f Mon Sep 17 00:00:00 2001 From: Lizan Zhou Date: Thu, 9 May 2019 04:02:55 +0000 Subject: [PATCH 1/4] azure-pipelines: move yaml file into its directory Signed-off-by: Lizan Zhou --- azure-pipelines.yml => .azure-pipelines/macos.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename azure-pipelines.yml => .azure-pipelines/macos.yml (100%) diff --git a/azure-pipelines.yml b/.azure-pipelines/macos.yml similarity index 100% rename from azure-pipelines.yml rename to .azure-pipelines/macos.yml From b4cd8584e338c7ab9d0bd22b05bdaa399b4a58c6 Mon Sep 17 00:00:00 2001 From: Lizan Zhou Date: Thu, 9 May 2019 04:23:45 +0000 Subject: [PATCH 2/4] add minimum linux pipelines Signed-off-by: Lizan Zhou --- .azure-pipelines/linux.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .azure-pipelines/linux.yml diff --git a/.azure-pipelines/linux.yml b/.azure-pipelines/linux.yml new file mode 100644 index 000000000000..82da50992605 --- /dev/null +++ b/.azure-pipelines/linux.yml @@ -0,0 +1,13 @@ +resources: + containers: + - container: envoy-build + image: envoyproxy/envoy-build:07f65995ece0b8a21bb2888d07a8c1d060e7daaa + +jobs: +- job: BuildEnvoy + pool: + vmImage: 'Ubuntu 16.04' + container: envoy-build + steps: + - script: bazel build -c opt //source/... + From cfc8b15526003a3c78d6358a718bc86060928f46 Mon Sep 17 00:00:00 2001 From: Lizan Zhou Date: Thu, 9 May 2019 22:18:31 +0000 Subject: [PATCH 3/4] use clang Signed-off-by: Lizan Zhou --- .azure-pipelines/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/linux.yml b/.azure-pipelines/linux.yml index 82da50992605..e168c84f8019 100644 --- a/.azure-pipelines/linux.yml +++ b/.azure-pipelines/linux.yml @@ -9,5 +9,5 @@ jobs: vmImage: 'Ubuntu 16.04' container: envoy-build steps: - - script: bazel build -c opt //source/... + - script: bazel build -c opt //source/... --action_env=PATH=PATH=/usr/lib/llvm-8/bin:$PATH --action_env=CC=clang --action_env=CXX=clang++ From 5b10883edfe367cb1812b121a470c29d0489bb02 Mon Sep 17 00:00:00 2001 From: Lizan Zhou Date: Thu, 9 May 2019 22:54:31 +0000 Subject: [PATCH 4/4] fast build, long timeout Signed-off-by: Lizan Zhou --- .azure-pipelines/linux.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines/linux.yml b/.azure-pipelines/linux.yml index e168c84f8019..467206806b10 100644 --- a/.azure-pipelines/linux.yml +++ b/.azure-pipelines/linux.yml @@ -5,9 +5,10 @@ resources: jobs: - job: BuildEnvoy + timeoutInMinutes: 120 pool: vmImage: 'Ubuntu 16.04' container: envoy-build steps: - - script: bazel build -c opt //source/... --action_env=PATH=PATH=/usr/lib/llvm-8/bin:$PATH --action_env=CC=clang --action_env=CXX=clang++ + - script: bazel build //source/exe:envoy-static