compare_perf.yml

 1# Generated from xtask::workflows::compare_perf
 2# Rebuild with `cargo xtask workflows`.
 3name: compare_perf
 4on:
 5  workflow_dispatch:
 6    inputs:
 7      head:
 8        description: head
 9        required: true
10        type: string
11      base:
12        description: base
13        required: true
14        type: string
15jobs:
16  run_perf:
17    runs-on: namespace-profile-2x4-ubuntu-2404
18    steps:
19    - name: steps::checkout_repo
20      uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
21      with:
22        clean: false
23    - name: compare_perf::run_perf::echo_inputs
24      run: echo ${{ inputs.base }} ${{ inputs.head }}
25      shell: bash -euxo pipefail {0}
26    - name: compare_perf::run_perf::create_results
27      run: mkdir -p target; echo 'Perf is *much* better now' > target/results.md
28      shell: bash -euxo pipefail {0}
29    - name: '@actions/upload-artifact results.md'
30      uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
31      with:
32        name: results.md
33        path: target/results.md