mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
build: changed data output to be different for each os (#581)
- macos: data-macos-latest.json - ubuntu: data-ubuntu-latest.json - windows: data-windows-latest.json
This commit is contained in:
parent
a7ae439b0f
commit
dbcd5fb28e
16
.github/workflows/benchmark-dev.yml
vendored
16
.github/workflows/benchmark-dev.yml
vendored
@ -75,7 +75,7 @@ jobs:
|
||||
name: ${{ matrix.bench.title }} (Windows ${{matrix.arch}})
|
||||
tool: "benchmarkluau"
|
||||
output-file-path: ./${{ matrix.bench.script }}-output.txt
|
||||
external-data-json-path: ./gh-pages/dev/bench/data.json
|
||||
external-data-json-path: ./gh-pages/dev/bench/data-${{ matrix.os }}.json
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Push benchmark results
|
||||
@ -85,7 +85,7 @@ jobs:
|
||||
cd gh-pages
|
||||
git config user.name github-actions
|
||||
git config user.email github@users.noreply.github.com
|
||||
git add ./dev/bench/data.json
|
||||
git add ./dev/bench/data-${{ matrix.os }}.json
|
||||
git commit -m "Add benchmarks results for ${{ github.sha }}"
|
||||
git push
|
||||
cd ..
|
||||
@ -156,7 +156,7 @@ jobs:
|
||||
name: ${{ matrix.bench.title }}
|
||||
tool: "benchmarkluau"
|
||||
output-file-path: ./${{ matrix.bench.script }}-output.txt
|
||||
external-data-json-path: ./gh-pages/dev/bench/data.json
|
||||
external-data-json-path: ./gh-pages/dev/bench/data-${{ matrix.os }}.json
|
||||
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
||||
|
||||
- name: Store ${{ matrix.bench.title }} result (CacheGrind)
|
||||
@ -166,7 +166,7 @@ jobs:
|
||||
name: ${{ matrix.bench.title }} (CacheGrind)
|
||||
tool: "roblox"
|
||||
output-file-path: ./${{ matrix.bench.script }}-output.txt
|
||||
external-data-json-path: ./gh-pages/dev/bench/data.json
|
||||
external-data-json-path: ./gh-pages/dev/bench/data-${{ matrix.os }}.json
|
||||
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
||||
|
||||
- name: Push benchmark results
|
||||
@ -176,7 +176,7 @@ jobs:
|
||||
cd gh-pages
|
||||
git config user.name github-actions
|
||||
git config user.email github@users.noreply.github.com
|
||||
git add ./dev/bench/data.json
|
||||
git add ./dev/bench/data-${{ matrix.os }}.json
|
||||
git commit -m "Add benchmarks results for ${{ github.sha }}"
|
||||
git push
|
||||
cd ..
|
||||
@ -244,7 +244,7 @@ jobs:
|
||||
|
||||
gh-pages-branch: "main"
|
||||
output-file-path: ./${{ matrix.bench.script }}-output.txt
|
||||
external-data-json-path: ./gh-pages/dev/bench/data.json
|
||||
external-data-json-path: ./gh-pages/dev/bench/data-${{ matrix.os }}.json
|
||||
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
||||
|
||||
- name: Store ${{ matrix.bench.title }} result (CacheGrind)
|
||||
@ -254,7 +254,7 @@ jobs:
|
||||
tool: "roblox"
|
||||
gh-pages-branch: "main"
|
||||
output-file-path: ./${{ matrix.bench.script }}-output.txt
|
||||
external-data-json-path: ./gh-pages/dev/bench/data.json
|
||||
external-data-json-path: ./gh-pages/dev/bench/data-${{ matrix.os }}.json
|
||||
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
||||
|
||||
- name: Push benchmark results
|
||||
@ -264,7 +264,7 @@ jobs:
|
||||
cd gh-pages
|
||||
git config user.name github-actions
|
||||
git config user.email github@users.noreply.github.com
|
||||
git add ./dev/bench/data.json
|
||||
git add ./dev/bench/data-${{ matrix.os }}.json
|
||||
git commit -m "Add benchmarks results for ${{ github.sha }}"
|
||||
git push
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user