Skip to content

Commit

Permalink
Try to fix benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Apr 11, 2024
1 parent b068ba6 commit 8d2f269
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/benchmark_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Run benchmarks on push
on:
push:
branches: [main, develop]
# temporary for debugging
pull_request:

concurrency:
# Cancel intermediate builds always
Expand Down
8 changes: 5 additions & 3 deletions asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@
// "uninstall_command": ["return-code=any python -mpip uninstall -y {project}"],
"build_command": [
"/bin/rm -rf pybind11",
"/usr/bin/git clone --depth 1 --branch v2.6.2 https://github.com/pybind/pybind11.git",
"python setup.py build",
"PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}"
"/usr/bin/git clone --depth 1 --branch v2.11.1 https://github.com/pybind/pybind11.git",
"python -m pip install build",
"python -m build --wheel -o {build_cache_dir} {build_dir}"
],
"build_cache_dir": ".asv/cache",
"build_dir": ".asv/build",

// List of branches to benchmark. If not provided, defaults to "master"
// (for git) or "default" (for mercurial).
Expand Down

0 comments on commit 8d2f269

Please sign in to comment.