Skip to content

Commit fa977f0

Browse files
benjirewisBenjamin Rewis
authored andcommitted
CXX-2255 Upgrade to Ubuntu 18.04 for Evergreen tasks (#795)
1 parent 6cb290c commit fa977f0

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

.mci.yml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -578,15 +578,15 @@ axes:
578578
- id: os
579579
display_name: "OS"
580580
values:
581-
- id: "ubuntu-1604"
582-
display_name: "Ubuntu 16.04 Debug"
581+
- id: "ubuntu-1804"
582+
display_name: "Ubuntu 18.04 Debug"
583583
variables:
584584
extra_path: *linux_extra_path
585585
cmake_flags: *linux_cmake_flags
586586
build_type: "Debug"
587587
tar_options: *linux_tar_options
588588
run_on:
589-
- ubuntu1604-build
589+
- ubuntu1804-build
590590
- id: "windows-2k8"
591591
display_name: "Windows (VS 2017) Debug"
592592
variables:
@@ -643,41 +643,43 @@ buildvariants:
643643
#######################################
644644
# Linux Buildvariants #
645645
#######################################
646-
- name: ubuntu1604-release
647-
display_name: "Ubuntu 16.04 Release (MongoDB Latest)"
646+
- name: ubuntu1804-release
647+
display_name: "Ubuntu 18.04 Release (MongoDB Latest)"
648648
expansions:
649649
build_type: "Release"
650650
tar_options: *linux_tar_options
651651
extra_path: *linux_extra_path
652652
cmake_flags: *linux_cmake_flags
653653
mongodb_version: *version_latest
654654
run_on:
655-
- ubuntu1604-build
655+
- ubuntu1804-build
656656
tasks:
657657
- name: lint
658658
- name: compile_and_test_with_shared_libs
659659
- name: compile_and_test_with_static_libs
660660
- name: compile_and_test_with_shared_libs_replica_set
661661
- name: uninstall_check
662662

663+
# TODO CXX-2260 Upgrade std::experimental tasks to use Ubuntu 18.04 and mongodb_latest
664+
# after bug fixes with newer g++ versions.
663665
- name: ubuntu1604-debug-std-experimental
664-
display_name: "Ubuntu 16.04 Debug (std::experimental) (MongoDB Latest)"
666+
display_name: "Ubuntu 16.04 Debug (std::experimental) (MongoDB 4.4)"
665667
expansions:
666668
build_type: "Debug"
667669
tar_options: *linux_tar_options
668670
extra_path: *linux_extra_path
669671
cmake_flags: *linux_cmake_flags
670672
poly_flags: *poly_std_experimental_flags
671-
mongodb_version: *version_latest
673+
mongodb_version: *version_44
672674
example_projects_cxx_standard: *std_experimental_cxx_standard
673675
run_on:
674676
- ubuntu1604-build
675677
tasks:
676678
- name: compile_and_test_with_shared_libs
677679
- name: compile_and_test_with_static_libs
678680

679-
- name: ubuntu1604-debug-valgrind
680-
display_name: "Valgrind Ubuntu 16.04 Debug (MongoDB Latest)"
681+
- name: ubuntu1804-debug-valgrind
682+
display_name: "Valgrind Ubuntu 18.04 Debug (MongoDB Latest)"
681683
expansions:
682684
build_type: "Debug"
683685
tar_options: *linux_tar_options
@@ -687,13 +689,13 @@ buildvariants:
687689
mongodb_version: *version_latest
688690
disable_slow_tests: 1
689691
run_on:
690-
- ubuntu1604-build
692+
- ubuntu1804-build
691693
tasks:
692694
- name: compile_and_test_with_shared_libs
693695
- name: compile_and_test_with_static_libs
694696

695-
- name: ubuntu1604-debug-asan
696-
display_name: "ASAN Ubuntu 16.04 Debug (MongoDB Latest)"
697+
- name: ubuntu1804-debug-asan
698+
display_name: "ASAN Ubuntu 18.04 Debug (MongoDB Latest)"
697699
expansions:
698700
build_type: "Debug"
699701
tar_options: *linux_tar_options
@@ -706,13 +708,13 @@ buildvariants:
706708
example_projects_cxxflags: *asan_cxxflags
707709
example_projects_ldflags: *asan_ldflags
708710
run_on:
709-
- ubuntu1604-build
711+
- ubuntu1804-build
710712
tasks:
711713
- name: compile_and_test_with_shared_libs
712714
- name: compile_and_test_with_static_libs
713715

714-
- name: ubuntu1604-debug-ubsan
715-
display_name: "UBSAN Ubuntu 16.04 Debug (MongoDB Latest)"
716+
- name: ubuntu1804-debug-ubsan
717+
display_name: "UBSAN Ubuntu 18.04 Debug (MongoDB Latest)"
716718
expansions:
717719
build_type: "Debug"
718720
tar_options: *linux_tar_options
@@ -725,7 +727,7 @@ buildvariants:
725727
example_projects_cxxflags: *ubsan_cxxflags
726728
example_projects_ldflags: *ubsan_ldflags
727729
run_on:
728-
- ubuntu1604-build
730+
- ubuntu1804-build
729731
tasks:
730732
# We currently don't run UBSAN on the shared library due to issues with UBSAN reporting
731733
# numerous false positive instances of undefined behavior in the mock tests, when the
@@ -858,7 +860,7 @@ buildvariants:
858860

859861
- name: packaging
860862
display_name: Linux Distro Packaging
861-
run_on: ubuntu1604-test
863+
run_on: ubuntu1804-test
862864
tasks:
863865
- name: debian-package-build
864866
- name: debian-package-build-mnmlstc

0 commit comments

Comments
 (0)