enable bench bot (#16339)

Run benchmarks on a bare metal server. The bot is a webhook on Deno
deploy which can provision a spot instance on Equinix Metal. The machine
type is `m3.small.x86` running a Ubuntu 22.04.

Commands:

`+bench` - Provision and schedule benchmarks for this PR.
`+bench status <id>` - Get current status of the metal instance.

The bot source is here: https://github.com/denoland/bench_bot
This commit is contained in:
Divy Srivastava 2022-10-19 08:03:28 +05:30 committed by GitHub
parent 0750b326be
commit 57f17bd3e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -325,6 +325,18 @@ jobs:
startsWith(github.ref, 'refs/tags/'))))
run: cargo build --release --locked --all-targets
- name: Upload PR artifact (linux)
if: |
matrix.job == 'test' &&
matrix.profile == 'release' && (matrix.use_sysroot ||
(github.repository == 'denoland/deno' &&
(github.ref == 'refs/heads/main' ||
startsWith(github.ref, 'refs/tags/'))))
uses: actions/upload-artifact@v3
with:
name: deno-${{ github.event.number }}
path: target/release/deno
- name: Pre-release (linux)
if: |
startsWith(matrix.os, 'ubuntu') &&