summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-06-09 09:25:23 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-22 22:16:50 +0000
commitf623f9426b90077f16bdb5e1cd33ba9b8a102ae5 (patch)
treebf2beb2c63de98dfa1a6cedfd8e7001683269f83 /etc
parentc203b21711233ede56337cd9ed8b2c67e9af461a (diff)
downloadmongo-f623f9426b90077f16bdb5e1cd33ba9b8a102ae5.tar.gz
SERVER-55446 added rosetta and arm64 macos builders to evergreen
(cherry picked from commit 02feb4df5a0e4bf9ac915aaafd8842ce9c738d73)
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml36
-rw-r--r--etc/generate_subtasks_config.yml1
2 files changed, 36 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index a9c051b8ae9..02f41f9125b 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -782,7 +782,6 @@ functions:
- "src/evergreen/functions/venv_setup.sh"
env:
pip_dir: ${pip_dir}
- workdir: ${workdir}
"upload pip requirements": &upload_pip_requirements
command: s3.put
@@ -7162,6 +7161,16 @@ task_groups:
- compile_all
- package
+- <<: *compile_task_group_template
+ name: compile_and_test_TG
+ tasks:
+ - compile_dist_test
+ - compile_unittests
+ - run_unittests
+ - compile_dbtest
+ - run_dbtest
+ - compile_all
+
# These `parallel` task groups are only appropriate for builders that
# use --link-model=dynamic, and have scons_cache_scope: shared and
# scons_cache_mode: all. Such builders are able to share all build
@@ -8682,6 +8691,31 @@ buildvariants:
distros:
- rhel70-small
+- name: enterprise-macos-rosetta-2
+ display_name: "Enterprise macOS Via Rosetta 2"
+ modules:
+ - enterprise
+ run_on:
+ - macos-1100-arm64
+ expansions:
+ test_flags: --excludeWithAnyTags=incompatible_with_macos
+ compile_env: DEVELOPER_DIR=/Applications/Xcode12.4.app
+ compile_flags: --ssl -j$(sysctl -n hw.logicalcpu) --libc++ --link-model=dynamic --disable-warnings-as-errors --variables-files=etc/scons/xcode_macosx.vars
+ resmoke_jobs_max: 6
+ num_scons_link_jobs_available: 0.99
+ tasks:
+ - name: compile_test_and_package_serial_TG
+ - name: audit
+ - name: auth_audit_gen
+ - name: causally_consistent_jscore_txns_passthrough
+ - name: .encrypt !.replica_sets !.sharding !.aggregation !.jscore !.ssl
+ - name: .jscore .common !.decimal !.sharding
+ - name: .logical_session_cache .one_sec
+ - name: mqlrun
+ - name: replica_sets_auth_gen
+ - name: replica_sets_jscore_passthrough
+ - name: sasl
+
###########################################
# Embedded SDK buildvariants #
###########################################
diff --git a/etc/generate_subtasks_config.yml b/etc/generate_subtasks_config.yml
index 9f7d7ddddeb..b4703c5c769 100644
--- a/etc/generate_subtasks_config.yml
+++ b/etc/generate_subtasks_config.yml
@@ -9,6 +9,7 @@ build_variant_large_distro_exceptions:
- enterprise-debian92-64
- enterprise-linux-64-amazon-ami
- enterprise-macos
+ - enterprise-macos-rosetta-2
- enterprise-rhel-67-s390x
- enterprise-rhel-70-64-bit
- enterprise-rhel-70-64-bit-no-libunwind