summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMathew Robinson <mathew.robinson@mongodb.com>2019-11-19 17:19:15 +0000
committerevergreen <evergreen@mongodb.com>2019-11-19 17:19:15 +0000
commit542479adb86d90e80ce4faed167e6848d4107adf (patch)
treeea987930627840bba92d11b342775d167b7b02f9 /etc
parent80d1587acb9e445cad81848a0c4b90f01bb9e00a (diff)
downloadmongo-542479adb86d90e80ce4faed167e6848d4107adf.tar.gz
SERVER-42408 Ensure hygienic builds work with Ninja
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 77191ee541d..4228fe3bc62 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -4040,6 +4040,20 @@ tasks:
--install-mode=hygienic
--separate-debug
+- name: compile_ninja
+ commands:
+ - func: "scons compile"
+ vars:
+ task_compile_flags: >-
+ --ninja
+ targets:
+ all.build.ninja
+ - command: shell.exec
+ params:
+ working_dir: src
+ shell: bash
+ script: ninja -f all.build.ninja
+
## compile_all - build all scons targets ##
- name: compile_all
commands:
@@ -9099,6 +9113,22 @@ task_groups:
tasks:
- compile_core_tools
- <<: *compile_task_group_template
+ name: compile_ninja_TG
+ tasks:
+ - compile_ninja
+ teardown_task:
+ - command: s3.put
+ params:
+ optional: true
+ aws_key: ${aws_key}
+ aws_secret: ${aws_secret}
+ local_file: src/all.build.ninja
+ remote_file: ${project}/${build_variant}/${revision}/artifacts/all.${build_id}.build.ninja
+ bucket: mciuploads
+ permissions: public-read
+ content_type: text/plain
+ display_name: build.ninja
+- <<: *compile_task_group_template
name: dbtest_TG
tasks:
- dbtest
@@ -9409,6 +9439,7 @@ buildvariants:
- name: compile_all_run_unittests_TG
distros:
- ubuntu1804-build
+ - name: compile_ninja_TG
- name: .aggfuzzer .common
- name: audit
- name: causally_consistent_jscore_txns_passthrough