Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8510

Use anchors and aliases for various compile tasks

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      Anchors and Aliases can be utilized to prevent code reuse for the compile tasks below.

      - name: compile
        tags: ["pull_request"]
        commands:
          - func: "get project"
          - func: "compile wiredtiger"
          - func: "upload artifact"
          - func: "cleanup"
      
      - name: compile-production-disable-shared
        tags: ["pull_request"]
        commands:
          - func: "get project"
          - func: "compile wiredtiger"
            vars:
              posix_configure_flags: --enable-silent-rules --enable-strict --disable-shared
          - func: "upload artifact"
          - func: "cleanup"
      
      - name: compile-production-disable-static
        tags: ["pull_request"]
        commands:
          - func: "get project"
          - func: "compile wiredtiger"
            vars:
              posix_configure_flags: --enable-silent-rules --enable-strict --disable-static --enable-lz4 --enable-snappy --enable-zlib --enable-zstd --enable-python
          - func: "upload artifact"
          - func: "cleanup"
      
      - name: compile-linux-no-ftruncate
        commands:    - func: "get project"
          - func: "compile wiredtiger no linux ftruncate"
            vars:
              posix_configure_flags: --enable-silent-rules --enable-diagnostic --enable-strict --enable-python
          - func: "upload artifact"
          - func: "cleanup"
      
      - name: compile-wtperf
        commands:
          - func: "get project"
          - func: "compile wiredtiger"
            vars:
              posix_configure_flags: --enable-strict --enable-diagnostic
          - func: "upload artifact"
          - func: "cleanup"
      

            Assignee:
            siddhartha.mahajan@mongodb.com Sid Mahajan
            Reporter:
            siddhartha.mahajan@mongodb.com Sid Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: