Skip to content

Commit

Permalink
Debugging WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanJeremy committed May 19, 2022
1 parent 094af83 commit 343854b
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,17 @@ jobs:
run: python -m pip install requests && pwd

- name: Run benchmark
run: |
python bench/bench.py | tee ../${{ matrix.bench.script }}-output.txt
- name: Print parent directory
run: cd .. && ls

- name: Cd 1 level up and create gh-pages dir then cd into it
run: ls && cd .. && mkdir gh-pages && cd gh-pages && pwd && ls
run: python bench/bench.py | tee ${{ matrix.bench.script }}-output.txt

- name: Switch to & checkout gh-pages repo
uses: actions/checkout@v3
with:
repository: AllanJeremy/luau-benchmark-results
ref: "main"
path: "../gh-pages"

- name: Cd into gh-pages
run: cd ../gh-pages

- name: Checkout gh-pages
run: |
Expand All @@ -69,7 +66,7 @@ jobs:
git pull
git status
- name: Cd back to luau before checking out original repo
- name: Print parent directory
run: cd .. && pwd && ls

#Run `github-action-benchmark` action
Expand All @@ -79,7 +76,7 @@ jobs:
name: ${{ matrix.bench.title }}
tool: "benchmarkluau"
# This should come from Luau repo
output-file-path: ../${{ matrix.bench.script }}-output.txt
output-file-path: ${{ matrix.bench.script }}-output.txt

# This should map to thebenchmark results repo
external-data-json-path: ../gh-pages/dev/bench/data.json
Expand Down

0 comments on commit 343854b

Please sign in to comment.