Update benchmark.yml

Attempt to fix Windows and other builds
This commit is contained in:
Arseny Kapoulkine 2022-06-24 18:16:12 -07:00 committed by GitHub
parent 5e405b58b3
commit 224d35bc9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,12 +45,8 @@ jobs:
- name: Move build files to root - name: Move build files to root
run: | run: |
move build/RelWithDebInfo/* . move build/Release/* .
- name: Check dir structure
run: |
ls build/RelWithDebInfo
ls
- uses: actions/setup-python@v3 - uses: actions/setup-python@v3
with: with:
python-version: "3.9" python-version: "3.9"
@ -171,7 +167,7 @@ jobs:
fail-on-alert: true fail-on-alert: true
comment-on-alert: true comment-on-alert: true
comment-always: true comment-always: true
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
- name: Store ${{ matrix.bench.title }} result (CacheGrind) - name: Store ${{ matrix.bench.title }} result (CacheGrind)
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
@ -185,7 +181,7 @@ jobs:
fail-threshold: 1000% fail-threshold: 1000%
fail-on-alert: false fail-on-alert: false
comment-on-alert: true comment-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
- name: Push benchmark results - name: Push benchmark results
if: github.event_name == 'push' if: github.event_name == 'push'
@ -205,8 +201,6 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
engine:
- { channel: stable, version: latest }
bench: bench:
- { - {
script: "run-analyze", script: "run-analyze",
@ -270,7 +264,7 @@ jobs:
fail-on-alert: true fail-on-alert: true
comment-on-alert: true comment-on-alert: true
comment-always: true comment-always: true
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
- name: Store ${{ matrix.bench.title }} result (CacheGrind) - name: Store ${{ matrix.bench.title }} result (CacheGrind)
uses: Roblox/rhysd-github-action-benchmark@v-luau uses: Roblox/rhysd-github-action-benchmark@v-luau
@ -285,7 +279,7 @@ jobs:
fail-on-alert: true fail-on-alert: true
comment-on-alert: true comment-on-alert: true
comment-always: true comment-always: true
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.BENCH_GITHUB_TOKEN }}
- name: Push benchmark results - name: Push benchmark results
if: github.event_name == 'push' if: github.event_name == 'push'