Skip to content

Commit

Permalink
valid CI
Browse files Browse the repository at this point in the history
  • Loading branch information
letFunny committed Jan 21, 2025
1 parent 71a05a3 commit f3377e0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
version:
Expand Down Expand Up @@ -36,8 +37,6 @@ jobs:
runs-on: ubuntu-22.04
needs: build
name: Benchmark chisel info (24.04)
# TODO maybe these should be three different jobs, build, build, run.
# Define a variable for both.
steps:
- name: Download base
uses: actions/download-artifact@v3
Expand All @@ -47,7 +46,7 @@ jobs:
- name: Download head
uses: actions/download-artifact@v3
with:
name: base
name: head

- name: Download chisel-releases
uses: actions/checkout@v4
Expand All @@ -61,4 +60,6 @@ jobs:

- name: Run benchmark
run: |
hyperfine "./base info --release /chisel-releases 'python3.12_core'" -n "BASE" "./head info --release chisel-releases 'python3.12_core'" -n "HEAD"
# TODO remove --show-output?
chmod +x base head
hyperfine --show-output "./base info --release ./chisel-releases 'python3.12_core'" -n "BASE" "./head info --release ./chisel-releases 'python3.12_core'" -n "HEAD"

0 comments on commit f3377e0

Please sign in to comment.