Skip to content

update publish targets #124

update publish targets

update publish targets #124

Workflow file for this run

name: Tests
on:
push:
paths:
- 'Rudim/**'
- 'Rudim.Test/**'
- 'Rudim.sln'
- '.github/workflows/pipeline.yml'
branches: [ main ]
pull_request:
paths:
- 'Rudim/**'
- 'Rudim.Test/**'
- 'Rudim.sln'
- '.github/workflows/pipeline.yml'
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Release
- name: Test
run: dotnet test --no-build --verbosity normal -c Release
- name: Benchmark
working-directory: Rudim
run: |
dotnet run -c Release --benchmark
echo "$(cat BenchmarkDotNet.Artifacts/results/Rudim.NegamaxBenchmark-report-github.md)" >> $GITHUB_STEP_SUMMARY