build:
  template_file: generic_tc_caching-linux-opt-base.tyml
  docker_image: "ubuntu:18.04"
  build_or_cache:
    repo: "${system.swig.repo}"
    sha: "${system.swig.sha1}"
    dir: "swig"
  cache:
    artifact_url: "${system.swig_build.win.url}"
    artifact_namespace: "${system.swig_build.win.namespace}"
  system_setup:
    >
      apt-get -qq -y install autoconf automake bison build-essential mingw-w64 &&
      (apt-get -qq -y install sudo || true)
  scripts:
    setup: "taskcluster/tc-true.sh"
    build: "taskcluster/build.sh x86_64-w64-mingw32"
    package: "taskcluster/package.sh"
  workerType: "${docker.dsBuild}"
  metadata:
    name: "SWIG Windows AMD64"
    description: "Building SWIG for Windows/AMD64"
