Skip to content

Commit d333822

Browse files
committed
Fixed benchmark working directory
1 parent 02e2452 commit d333822

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,15 @@ jobs:
6464
- name: Ensure benchmark data dir exists
6565
run: mkdir -p ./benchmark/data
6666
- name: Build benchmark Lua 5.3
67-
run: node dist/tstl.js -p benchmark/tsconfig.53.json
67+
run: node ../dist/tstl.js -p tsconfig.53.json
68+
working-directory: benchmark
6869
- name: Run benchmark Lua 5.3
6970
id: benchmark-lua
7071
run: echo ::set-output name=info::`lua5.3 -- run.lua ../data/benchmark_master_53.json ${{github.ref}}`
7172
working-directory: benchmark/dist
7273
- name: Build benchmark LuaJIT
73-
run: node dist/tstl.js -p benchmark/tsconfig.jit.json
74+
run: node ../dist/tstl.js -p tsconfig.jit.json
75+
working-directory: benchmark
7476
- name: Run benchmark LuaJIT
7577
id: benchmark-jit
7678
run: echo ::set-output name=info::`luajit -- run.lua ../data/benchmark_master_jit.json ${{github.ref}}`

0 commit comments

Comments
 (0)