Benchmark Engine #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmark Engine | |
on: | |
# Run the workflow every day at 5AM UTC | |
# That's 9PM PST, 12AM EST, 6AM CET | |
schedule: | |
- cron: "0 5 * * *" | |
pull_request: | |
types: | |
- synchronize | |
- labeled | |
# Enable manual trigger for easy debugging | |
workflow_dispatch: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
benchdev: | |
if: ${{ github.repository == 'dagger/dagger' && (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'benchmark')) }} | |
runs-on: | |
- 'dagger-g3-v0-16-1-16c-st-benchmark' | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Warm up Engine | |
run: dagger core version | |
- name: Benchmark Engine | |
uses: ./.github/actions/call | |
with: | |
function: bench all --prewarm | |
dev-engine: false | |
upload-logs: true |