ci: microbenchmarks + GH actions testing [wip] [dnm] #2
Workflow file for this run
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
name: Microbench Build Test | |
on: | |
pull_request: | |
types: [ opened, reopened, synchronize ] | |
branches: [ master ] | |
jobs: | |
microbench-build: | |
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 }} | |
- name: Print PR head commit message | |
run: git log -1 --pretty=format:"%H %an %s" | |
- name: Checkout PR base commit | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.base.sha }} | |
- name: Print PR base commit message | |
run: git log -1 --pretty=format:"%H %an %s" |