summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-10-19 08:03:28 +0530
committerGitHub <noreply@github.com>2022-10-19 08:03:28 +0530
commit57f17bd3e6a8e30d13443e6f6638999f0f3cce3e (patch)
treed58e94b30f1721f652bfa2118dd550e902524727
parent0750b326be17ad79eb85e2cca85efeaff3a74810 (diff)
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
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 12 insertions, 0 deletions
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') &&