-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9434611
commit 9c7de39
Showing
4 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Microbenchmarks CI | ||
on: | ||
pull_request: | ||
types: [ opened, reopened, synchronize ] | ||
branches: [ master ] | ||
|
||
jobs: | ||
microbench-build-head: | ||
name: Head Binaries | ||
runs-on: [self-hosted, basic_runner_group] | ||
timeout-minutes: 30 | ||
steps: | ||
- name: checkout PR head commit | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha || github.ref }} | ||
- run: ./build/github/get-engflow-keys.sh | ||
- name: print commit message | ||
run: git log -1 --pretty=format:"%H %an %s" | ||
- name: build tests | ||
run: ./build/github/microbenchmarks-build.sh | ||
- name: clean up | ||
run: ./build/github/cleanup-engflow-keys.sh | ||
if: always() | ||
microbench-build-base: | ||
name: Base Binaries | ||
runs-on: [self-hosted, basic_runner_group] | ||
timeout-minutes: 30 | ||
steps: | ||
- name: checkout PR base commit | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.base.sha }} | ||
- run: ./build/github/get-engflow-keys.sh | ||
- name: print commit message | ||
run: git log -1 --pretty=format:"%H %an %s" | ||
- name: build tests | ||
run: ./build/github/microbenchmarks-build.sh | ||
- name: clean up | ||
run: ./build/github/cleanup-engflow-keys.sh | ||
if: always() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2025 The Cockroach Authors. | ||
# | ||
# Use of this software is governed by the CockroachDB Software License | ||
# included in the /LICENSE file. | ||
|
||
set -euxo pipefail | ||
|
||
bazel build //pkg/sql/tests:tests_test \ | ||
--jobs 100 \ | ||
--config=crosslinux \ | ||
--remote_download_minimal \ | ||
$(./build/github/engflow-args.sh) |