Commit e5cb5ded authored by Isuru Fernando's avatar Isuru Fernando
Browse files

build asv html in docs

parent 408facb2
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -397,6 +397,11 @@ build_docs()
  else
    with_echo make html SPHINXOPTS="-W --keep-going -n"
  fi
  cd ..
  if [[ -f "asv.conf.json" ]]; then
    build_asv_html
  fi
  cd doc
}

maybe_upload_docs()
@@ -546,6 +551,18 @@ function run_asv {
  fi
}

function build_asv_html {
  setup_asv
  clone_results_repo
  asv publish --html-dir docs/_build/html/benchmarks
}

function build_and_run_benchmarks {
  setup_asv
  clone_results_repo
  run_asv
  upload_benchmark_results
}

# }}}