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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Print parent directory
|
- name: "Print current working dir"
|
||||||
run: cd .. && ls
|
run: ls && pwd
|
||||||
|
|
||||||
|
- name: "Print parent dir"
|
||||||
|
run: cd .. && ls && pwd
|
||||||
|
|
||||||
- name: Build Luau
|
- name: Build Luau
|
||||||
run: make config=release luau luau-analyze
|
run: make config=release luau luau-analyze
|
||||||
|
@ -51,9 +54,9 @@ jobs:
|
||||||
- name: Run benchmark
|
- name: Run benchmark
|
||||||
run: python bench/bench.py | tee ${{ matrix.bench.script }}-output.txt
|
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: cd ../../ && mkdir gh-pages && cd gh-pages
|
||||||
run: ls && cd .. && mkdir gh-pages && cd gh-pages && pwd && ls
|
|
||||||
|
|
||||||
|
# in gh-pages directory
|
||||||
- name: Switch to & checkout gh-pages repo
|
- name: Switch to & checkout gh-pages repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -68,16 +71,10 @@ jobs:
|
||||||
git pull
|
git pull
|
||||||
git status
|
git status
|
||||||
|
|
||||||
- name: Cd back to luau before checking out original repo
|
# Switch back to luau directory
|
||||||
run: cd .. && pwd && ls
|
- run: pwd && ls &&cd .. && pwd && ls
|
||||||
|
- run: ls gh-pages
|
||||||
- name: Switch to original luau repo
|
- run: ls luau
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: ${{ github.repository }}
|
|
||||||
|
|
||||||
- name: Print current directory & list files
|
|
||||||
run: pwd && ls
|
|
||||||
|
|
||||||
#Run `github-action-benchmark` action
|
#Run `github-action-benchmark` action
|
||||||
- name: Store ${{ matrix.bench.title }} result
|
- name: Store ${{ matrix.bench.title }} result
|
||||||
|
@ -86,7 +83,7 @@ jobs:
|
||||||
name: ${{ matrix.bench.title }}
|
name: ${{ matrix.bench.title }}
|
||||||
tool: "benchmarkluau"
|
tool: "benchmarkluau"
|
||||||
# This should come from Luau repo
|
# 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
|
# This should map to thebenchmark results repo
|
||||||
external-data-json-path: ../gh-pages/dev/bench/data.json
|
external-data-json-path: ../gh-pages/dev/bench/data.json
|
||||||
|
|
Loading…
Add table
Reference in a new issue