summaryrefslogtreecommitdiff
path: root/etc/evergreen_yml_components/variants/ninja.yml
blob: 3a2a684de8738d1b8a218be8e6db6ee293241e38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
buildvariants:

- name: enterprise-windows-ninja
  display_name: "Ninja Build: Enterprise Windows"
  cron: "0 4 * * 0" # Run once a week to ensure no failures introduced to ninja builds
  modules:
  - enterprise
  expansions:
    compile_flags: --ssl MONGO_DISTMOD=windows CPPPATH="c:/sasl/include c:/snmp/include" LIBPATH="c:/sasl/lib c:/snmp/lib" -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5")  --win-version-min=win10
  tasks:
  - name: compile_ninja_next_TG
    distros:
    - windows-vsCurrent-large
  - name: compile_ninja_TG
    distros:
    - windows-vsCurrent-large

- name: macos-enterprise-ninja
  display_name: "Ninja Build: macOS Enterprise"
  cron: "0 4 * * 0" # Run once a week to ensure no failures introduced to ninja builds
  modules:
  - enterprise
  run_on:
  - macos-1100
  expansions:
    compile_env: DEVELOPER_DIR=/Applications/Xcode13.app
    compile_flags: --ssl -j$(sysctl -n hw.logicalcpu) --libc++ --variables-files=etc/scons/xcode_macosx.vars
  tasks:
  - name: compile_ninja_next_TG
  - name: compile_ninja_TG

- name: ubuntu1804-ninja-build-profiles
  display_name: "Ninja Build Profiles: Ubuntu 18.04"
  cron: "0 4 * * 0" # Run once a week to ensure no failures introduced to build profiles
  modules:
  - enterprise
  run_on:
  - ubuntu1804-small
  stepback: false
  expansions:
    compile_flags: --ssl --ocsp-stapling=off MONGO_DISTMOD=ubuntu1804 -j$(grep -c ^processor /proc/cpuinfo)
    repo_edition: enterprise
    has_packages: false
  tasks:
  - name: compile_ninja_default_profile_TG
    distros:
    - ubuntu1804-xlarge
  - name: compile_ninja_opt_profile_TG
    distros:
    - ubuntu1804-xlarge
  - name: compile_ninja_san_profile_TG
    distros:
    - ubuntu1804-xlarge
  - name: compile_ninja_fast_profile_TG
    distros:
    - ubuntu1804-xlarge

- name: enterprise-rhel-80-64-bit-dynamic-required-ninja
  display_name: "Ninja Build: Enterprise RHEL 8.0"
  cron: "0 4 * * 0" # Run once a week to ensure no failures introduced to ninja builds
  modules:
  - enterprise
  run_on:
  - rhel80-small
  expansions:
    compile_flags: --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
    has_packages: false
  tasks:
  - name: compile_ninja_next_TG
    distros:
    - rhel80-xlarge
  - name: compile_ninja_TG
    distros:
    - rhel80-xlarge