mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
34 lines
925 B
YAML
34 lines
925 B
YAML
name: Benchmarks
|
|
#on:
|
|
# push
|
|
#schedule:
|
|
# - cron: '0 5 * * *'
|
|
#push:
|
|
# tags:
|
|
# - 'v*'
|
|
|
|
env:
|
|
ROBUST_BENCHMARKS_ENABLE_SQL: 1
|
|
ROBUST_BENCHMARKS_SQL_ADDRESS: ${{ secrets.BENCHMARKS_WRITE_ADDRESS }}
|
|
ROBUST_BENCHMARKS_SQL_PORT: ${{ secrets.BENCHMARKS_WRITE_PORT }}
|
|
ROBUST_BENCHMARKS_SQL_USER: ${{ secrets.BENCHMARKS_WRITE_USER }}
|
|
ROBUST_BENCHMARKS_SQL_PASSWORD: ${{ secrets.BENCHMARKS_WRITE_PASSWORD }}
|
|
ROBUST_BENCHMARKS_SQL_DATABASE: benchmarks
|
|
|
|
jobs:
|
|
benchmark:
|
|
name: Run Benchmarks
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
- name: Setup .NET Core
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: 6.0.x
|
|
- name: Install dependencies
|
|
run: dotnet restore
|
|
- name: Run benchmark
|
|
run: cd Robust.Benchmarks && sudo dotnet run --filter '*' --configuration Release
|