forked from space-syndicate/space-station-14
The actions/cache@v4 tar compression with zstdmt causes OOM (exit code 137) on runners with limited memory. Removing cache entirely as a temporary fix until a better solution is implemented. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: Benchmarks
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 8 * * *'
|
|
|
|
concurrency: benchmarks
|
|
|
|
jobs:
|
|
benchmark:
|
|
name: Run Benchmarks
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
RUNNER_TOOL_CACHE: /toolcache
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4.2.2
|
|
with:
|
|
submodules: 'recursive'
|
|
|
|
- name: Setup .NET Core
|
|
uses: actions/setup-dotnet@v4.1.0
|
|
with:
|
|
dotnet-version: 9.0.x
|
|
|
|
- name: Install Dependencies
|
|
run: dotnet restore
|
|
|
|
- name: Run Benchmarks
|
|
env:
|
|
ROBUST_BENCHMARKS_ENABLE_SQL: "1"
|
|
ROBUST_BENCHMARKS_SQL_ADDRESS: ${{ secrets.BENCHMARKS_SQL_HOST }}
|
|
ROBUST_BENCHMARKS_SQL_PORT: ${{ secrets.BENCHMARKS_SQL_PORT }}
|
|
ROBUST_BENCHMARKS_SQL_USER: ${{ secrets.BENCHMARKS_SQL_USER }}
|
|
ROBUST_BENCHMARKS_SQL_PASSWORD: ${{ secrets.BENCHMARKS_SQL_PASSWORD }}
|
|
ROBUST_BENCHMARKS_SQL_DATABASE: ${{ secrets.BENCHMARKS_SQL_DATABASE }}
|
|
GITHUB_SHA: ${{ github.sha }}
|
|
run: |
|
|
cd Content.Benchmarks
|
|
dotnet run --filter '*' --configuration Release
|