mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
Update benchmark.yml
Attempt to fix Windows and other builds
This commit is contained in:
parent
5e405b58b3
commit
224d35bc9e
16
.github/workflows/benchmark.yml
vendored
16
.github/workflows/benchmark.yml
vendored
@ -45,12 +45,8 @@ jobs:
|
||||
|
||||
- name: Move build files to root
|
||||
run: |
|
||||
move build/RelWithDebInfo/* .
|
||||
move build/Release/* .
|
||||
|
||||
- name: Check dir structure
|
||||
run: |
|
||||
ls build/RelWithDebInfo
|
||||
ls
|
||||
- uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: "3.9"
|
||||
@ -171,7 +167,7 @@ jobs:
|
||||
fail-on-alert: true
|
||||
comment-on-alert: true
|
||||
comment-always: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
||||
|
||||
- name: Store ${{ matrix.bench.title }} result (CacheGrind)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
@ -185,7 +181,7 @@ jobs:
|
||||
fail-threshold: 1000%
|
||||
fail-on-alert: false
|
||||
comment-on-alert: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
||||
|
||||
- name: Push benchmark results
|
||||
if: github.event_name == 'push'
|
||||
@ -205,8 +201,6 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
engine:
|
||||
- { channel: stable, version: latest }
|
||||
bench:
|
||||
- {
|
||||
script: "run-analyze",
|
||||
@ -270,7 +264,7 @@ jobs:
|
||||
fail-on-alert: true
|
||||
comment-on-alert: true
|
||||
comment-always: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
||||
|
||||
- name: Store ${{ matrix.bench.title }} result (CacheGrind)
|
||||
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
||||
@ -285,7 +279,7 @@ jobs:
|
||||
fail-on-alert: true
|
||||
comment-on-alert: true
|
||||
comment-always: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
|
||||
|
||||
- name: Push benchmark results
|
||||
if: github.event_name == 'push'
|
||||
|
Loading…
Reference in New Issue
Block a user