Skip to content

Commit

Permalink
fix: More fixes to the benchmarker, to correctly handle permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxemiliang committed Apr 7, 2024
1 parent 75200e5 commit 531d8c3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/benchmarker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
shot_executable:
description: 'The SHOT executable to run'
default: ./../shot-binary/SHOT
default: ./SHOT
required: false
type: string
benchmark_folder:
Expand Down Expand Up @@ -71,15 +71,21 @@ jobs:
runs-on: [ self-hosted, linux, cmake ]

steps:
- shell: bash
run: git -C shot-benchmarker pull || git clone https://github.com/maxemiliang/shot-benchmarker.git

- name: Fetch SHOT artifact
if: ${{ inputs.shot_artifact != '' }}
uses: actions/download-artifact@v3
with:
name: ${{ inputs.shot_artifact }}
path: ${{ github.workspace }}/shot-binary
path: ${{ github.workspace }}/shot-benchmarker

- shell: bash
run: git -C shot-benchmarker pull || git clone https://github.com/maxemiliang/shot-benchmarker.git
- name: Make SHOT executable
shell: bash
run: |
cd ${{ github.workspace }}/shot-benchmarker
chmod +x SHOT
- uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 531d8c3

Please sign in to comment.