Skip to content

Prevent direct disposal or shutdown of Loopers retrieved from LogicLooperPool. #80

Prevent direct disposal or shutdown of Loopers retrieved from LogicLooperPool.

Prevent direct disposal or shutdown of Loopers retrieved from LogicLooperPool. #80

Workflow file for this run

name: Build-Master
on:
push:
branches:
- "master"
pull_request:
branches:
- master
jobs:
build-debug:
name: Build and run tests
permissions:
contents: read
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: Cysharp/Actions/.github/actions/checkout@main
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
- run: dotnet build -c Debug -p:DefineConstants=RUNNING_IN_CI
- run: dotnet pack ./src/LogicLooper/LogicLooper.csproj -c Debug --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
- run: dotnet test -c Debug --no-build
- uses: Cysharp/Actions/.github/actions/upload-artifact@main
with:
name: nuget
path: ./src/LogicLooper/bin/Debug/*.*nupkg
retention-days: 1
test-release-build:
name: Run tests using Release build
needs: [ build-debug ]
strategy:
matrix:
os: [ ubuntu-24.04, windows-2025 ]
permissions:
contents: read
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- uses: Cysharp/Actions/.github/actions/checkout@main
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
- run: dotnet build -c Release -p:DefineConstants=RUNNING_IN_CI
- run: dotnet test -c Release --no-build