Let ApiHawk and Lua access window scale 6x through 9x #3342
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
| on: [push, pull_request, workflow_dispatch] | |
| name: Build and test main solution | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| analyzer-build: | |
| name: Build solution with analyzers | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install .NET SDK | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: "8" | |
| - name: Debug build with analyzers | |
| run: Dist/BuildDebug.sh -p:ContinuousIntegrationBuild=true -warnaserror | |
| - name: Release build with analyzers | |
| run: Dist/BuildRelease.sh -p:ContinuousIntegrationBuild=true -warnaserror | |
| test: | |
| name: Unit tests (.NET Framework Runtime) | |
| runs-on: ${{matrix.os.fullname}} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - { prettyname: Windows, fullname: windows-latest } | |
| - { prettyname: Linux, fullname: ubuntu-22.04 } # newer ubuntu versions don't ship with mono, so we need to pin for now, see https://github.com/actions/runner-images/issues/10636 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install .NET SDK | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: "8" | |
| - name: Test | |
| run: dotnet test BizHawk.sln -c Release -p:ContinuousIntegrationBuild=true -p:RunStyleCop=false | |
| shell: pwsh | |
| test-netcore: | |
| name: Unit tests (.NET Core Runtime) | |
| runs-on: ${{matrix.os.fullname}} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - { prettyname: Windows, fullname: windows-latest } | |
| - { prettyname: Linux, fullname: ubuntu-22.04 } # newer ubuntu versions don't ship with mono, so we need to pin for now, see https://github.com/actions/runner-images/issues/10636 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install .NET SDK | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: "8" | |
| - name: Test | |
| run: dotnet test BizHawk.sln -c Release -p:TestProjTargetFrameworkOverride=net8.0 -p:ContinuousIntegrationBuild=true -p:RunStyleCop=false | |
| shell: pwsh | |
| package: | |
| name: Build and package output | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install .NET SDK | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: "8" | |
| - name: Build solution | |
| run: Dist/BuildRelease.sh | |
| - name: Package (Linux) | |
| run: Dist/Package.sh | |
| - name: Upload Linux dev build | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: BizHawk-dev-linux | |
| path: packaged_output | |
| - name: Package (Windows) | |
| run: Dist/Package.sh windows-x64 | |
| - name: Upload Windows dev build | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: BizHawk-dev-windows | |
| path: packaged_output |