Skip to content

Commit

Permalink
Change workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Fontana authored and Pedro Fontana committed Mar 27, 2024
1 parent aaa82d9 commit 0e76d0f
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/hyper_threading_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,42 @@ jobs:
make cairo_bench_programs
cargo build --release -p hyper_threading
cp target/release/hyper_threading ./hyper_threading_pr
- name: Upload PR Binary
uses: actions/upload-artifact@master
with:
name: hyper_threading_pr_binary
path: ./hyper_threading_pr

- name: Upload Workflow Script
uses: actions/upload-artifact@master
with:
name: hyper_threading_workflow_script
path: ./examples/hyper_threading/hyper-threading-workflow.sh


- name: Checkout Main Branch
uses: actions/checkout@v2
with:
ref: 'main'

- name: Make Script Executable
run: chmod +x ./examples/hyper_threading/hyper-threading-workflow.sh

- name: Compile Main Version
run: |
make cairo_bench_programs
cargo build --release -p hyper_threading
cp target/release/hyper_threading ./hyper_threading_main
- name: Upload Main Binary
uses: actions/upload-artifact@master
with:
name: hyper_threading_main_binary
path: ./hyper_threading_main

- name: Download Artifacts
uses: actions/download-artifact@master
with:
path: ./

- name: Run Benchmarks
run: ./examples/hyper_threading/hyper-threading-workflow.sh > results_pr.txt

Expand Down

0 comments on commit 0e76d0f

Please sign in to comment.