From 57f17bd3e6a8e30d13443e6f6638999f0f3cce3e Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 19 Oct 2022 08:03:28 +0530 Subject: 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 ` - Get current status of the metal instance. The bot source is here: https://github.com/denoland/bench_bot --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28c9bbdcd..96213ba3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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') && -- cgit v1.2.3