---
- task:
    metadata:
      name: scan-build-3.8
      description: scan-build-3.8

    payload:
      artifacts:
        public:
          type: directory
          path: /home/worker/artifacts
          expires: !from_now 24

      command:
        - "/bin/bash"
        - "-c"
        - "bin/checkout.sh && nss/automation/taskcluster/scripts/run_scan_build.sh"

      env:
        GCC_VERSION: clang
        GXX_VERSION: clang++
        NSS_ENABLE_TLS_1_3: 1
        USE_64: 1

    extra:
      treeherder:
        symbol: scan-build-3.8
