Skip to content

Commit c56c425

Browse files
committed
try sh
1 parent c6ad4f4 commit c56c425

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -365,22 +365,22 @@ jobs:
365365
run: |
366366
cd console
367367
if [ "$RUNNER_OS" == "Windows" ]; then
368-
python ./bench_runner.py --frontend_cpu --executable="./Scripts/swiftnav-console.exe"
368+
python ./bench_runner.py --frontend_cpu --executable="${GITHUB_WORKSPACE}/console/Scripts/swiftnav-console.exe"
369369
elif [ "$RUNNER_OS" == "macOS" ]; then
370-
python ./bench_runner.py --frontend_cpu --executable="./bin/swiftnav-console"
370+
python ./bench_runner.py --frontend_cpu --executable="${GITHUB_WORKSPACE}/console/bin/swiftnav-console"
371371
elif [ "$RUNNER_OS" == "Linux" ]; then
372-
python ./bench_runner.py --frontend_cpu --executable="./bin/swiftnav-console"
372+
python ./bench_runner.py --frontend_cpu --executable="${GITHUB_WORKSPACE}/console/bin/swiftnav-console"
373373
fi
374374
- name: Run MEM Frontend Benchmark.
375375
shell: bash
376376
run: |
377377
cd console
378378
if [ "$RUNNER_OS" == "Windows" ]; then
379-
python ./bench_runner.py --frontend_mem --executable="./Scripts/swiftnav-console.exe"
379+
python ./bench_runner.py --frontend_mem --executable="${GITHUB_WORKSPACE}/console/Scripts/swiftnav-console.exe"
380380
elif [ "$RUNNER_OS" == "macOS" ]; then
381-
python ./bench_runner.py --frontend_mem --executable="./bin/swiftnav-console"
381+
python ./bench_runner.py --frontend_mem --executable="${GITHUB_WORKSPACE}/console/bin/swiftnav-console"
382382
elif [ "$RUNNER_OS" == "Linux" ]; then
383-
python ./bench_runner.py --frontend_mem --executable="./bin/swiftnav-console"
383+
python ./bench_runner.py --frontend_mem --executable="${GITHUB_WORKSPACE}/console/bin/swiftnav-console"
384384
fi
385385
386386

0 commit comments

Comments
 (0)