Optimize .NET Garbage Collection for low-memory Render container to p… #32
This file contains hidden or 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: VAH Backend CI/CD | |
| 'on': | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| MSBUILDDISABLENODEREUSE: '1' | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET Default (9.0) | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '9.0.x' | |
| - name: Restore dependencies | |
| run: dotnet restore VAH.sln | |
| - name: Build | |
| run: dotnet build VAH.sln --no-restore --configuration Release -p:UseSharedCompilation=false /nodeReuse:false | |
| - name: Test | |
| run: dotnet test VAH.sln --no-build --verbosity normal --configuration Release | |
| - name: Shutdown Build Server | |
| run: dotnet build-server shutdown |