Skip to content

Commit

Permalink
enable bench bot (denoland#16339)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
littledivy authored Oct 19, 2022
1 parent 0750b32 commit 57f17bd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') &&
Expand Down

0 comments on commit 57f17bd

Please sign in to comment.