Skip to content

Commit

Permalink
Remove artifatcs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Fontana authored and Pedro Fontana committed Apr 12, 2024
1 parent f747bfd commit 3ef874e
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/hyper_threading_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,20 @@ jobs:
run: |
make cairo_bench_programs
cargo build --release -p hyper_threading
mkdir -p ${{ github.workspace }}/artifacts
cp target/release/hyper_threading ${{ github.workspace }}/artifacts/hyper_threading_pr
cp ./examples/hyper_threading/hyper-threading-workflow.sh ${{ github.workspace }}/artifacts/hyper-threading-workflow.sh
cp target/release/hyper_threading ${{ github.workspace }}/hyper_threading_pr
cp ./examples/hyper_threading/hyper-threading-workflow.sh ${{ github.workspace }}/hyper-threading-workflow.sh
- name: Upload PR Binary
uses: actions/upload-artifact@v4
with:
name: hyper_threading_pr_binary
path: ${{ github.workspace }}/artifacts/hyper_threading_pr
path: ${{ github.workspace }}/hyper_threading_pr

- name: Upload Workflow Script
uses: actions/upload-artifact@v4
with:
name: hyper_threading_workflow_script
path: ${{ github.workspace }}/artifacts/hyper-threading-workflow.sh
path: ${{ github.workspace }}/hyper-threading-workflow.sh


- name: Checkout Main Branch
Expand All @@ -59,42 +58,41 @@ jobs:
run: |
make cairo_bench_programs
cargo build --release -p hyper_threading
mkdir -p ${{ github.workspace }}/artifacts
cp target/release/hyper_threading ${{ github.workspace }}/artifacts/hyper_threading_main
cp target/release/hyper_threading ${{ github.workspace }}/hyper_threading_main
- name: Upload Main Binary
uses: actions/upload-artifact@v4
with:
name: hyper_threading_main_binary
path: ${{ github.workspace }}/artifacts/hyper_threading_main
path: ${{ github.workspace }}/hyper_threading_main

- name: Download hyper_threading_pr_binary
uses: actions/download-artifact@v4
with:
name: hyper_threading_pr_binary
path: ${{ github.workspace }}/artifacts/
path: ${{ github.workspace }}/

- name: Download hyper_threading_workflow_script
uses: actions/download-artifact@v4
with:
name: hyper_threading_workflow_script
path: ${{ github.workspace }}/artifacts/
path: ${{ github.workspace }}/

- name: Download hyper_threading_main_binary
uses: actions/download-artifact@v4
with:
name: hyper_threading_pr_binary
path: ${{ github.workspace }}/artifacts/
path: ${{ github.workspace }}/


- name: Display structure of downloaded files
run: ls -R ${{ github.workspace }}/artifacts/
run: ls -R ${{ github.workspace }}/

- name: Run Benchmarks
run: |
ls -R ${{ github.workspace }}/artifacts/
chmod +x ${{ github.workspace }}/artifacts/hyper-threading-workflow.sh
sh ${{ github.workspace }}/artifacts/hyper-threading-workflow.sh
ls -R ${{ github.workspace }}/
chmod +x ${{ github.workspace }}/hyper-threading-workflow.sh
sh ${{ github.workspace }}/hyper-threading-workflow.sh
- name: Compare Results
run: |
Expand Down

0 comments on commit 3ef874e

Please sign in to comment.