mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Debugging WIP
This commit is contained in:
parent
007387186f
commit
022664d116
1 changed files with 12 additions and 15 deletions
27
.github/workflows/benchmark.yml
vendored
27
.github/workflows/benchmark.yml
vendored
|
@ -34,8 +34,11 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Print parent directory
|
||||
run: cd .. && ls
|
||||
- name: "Print current working dir"
|
||||
run: ls && pwd
|
||||
|
||||
- name: "Print parent dir"
|
||||
run: cd .. && ls && pwd
|
||||
|
||||
- name: Build Luau
|
||||
run: make config=release luau luau-analyze
|
||||
|
@ -51,9 +54,9 @@ jobs:
|
|||
- name: Run benchmark
|
||||
run: python bench/bench.py | tee ${{ matrix.bench.script }}-output.txt
|
||||
|
||||
- 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: cd ../../ && mkdir gh-pages && cd gh-pages
|
||||
|
||||
# in gh-pages directory
|
||||
- name: Switch to & checkout gh-pages repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
@ -68,16 +71,10 @@ jobs:
|
|||
git pull
|
||||
git status
|
||||
|
||||
- name: Cd back to luau before checking out original repo
|
||||
run: cd .. && pwd && ls
|
||||
|
||||
- name: Switch to original luau repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
|
||||
- name: Print current directory & list files
|
||||
run: pwd && ls
|
||||
# Switch back to luau directory
|
||||
- run: pwd && ls &&cd .. && pwd && ls
|
||||
- run: ls gh-pages
|
||||
- run: ls luau
|
||||
|
||||
#Run `github-action-benchmark` action
|
||||
- name: Store ${{ matrix.bench.title }} result
|
||||
|
@ -86,7 +83,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
|
||||
|
|
Loading…
Add table
Reference in a new issue