From 5c0adf81cae9390a157bfbaacab41e0329acaa87 Mon Sep 17 00:00:00 2001 From: Berk <12572227+par274@users.noreply.github.com> Date: Sun, 20 Sep 2026 02:44:53 +0300 Subject: [PATCH] [CI] Fixes to warnings in workflows and scripts (#892) * [CI] Fixes to warnings in workflows and scripts * [CI] rename build job to win-x64 * [CI] sorry for version * [AGC] Disable warning SHEM004 for AgcExports.cs --- .github/workflows/notify-site.yml | 2 +- .github/workflows/pr-build-links.yml | 2 +- .github/workflows/workflow.yml | 10 +++++----- scripts/ps5_names.txt | 3 +++ src/SharpEmu.Libs/Agc/AgcExports.cs | 1 + 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/notify-site.yml b/.github/workflows/notify-site.yml index 6033d3e..d6acf45 100644 --- a/.github/workflows/notify-site.yml +++ b/.github/workflows/notify-site.yml @@ -12,7 +12,7 @@ on: jobs: dispatch: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Trigger sharpemu-site rebuild env: diff --git a/.github/workflows/pr-build-links.yml b/.github/workflows/pr-build-links.yml index 2e07020..2834745 100644 --- a/.github/workflows/pr-build-links.yml +++ b/.github/workflows/pr-build-links.yml @@ -26,7 +26,7 @@ permissions: jobs: comment: name: Post artifact links - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 # Only for successful PR builds — artifacts exist only when the build passed. if: >- github.event.workflow_run.event == 'pull_request' && diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 69d3ce9..3f6fd52 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -34,7 +34,7 @@ concurrency: jobs: init: name: Init - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 outputs: release-name: ${{ steps.vars.outputs.release-name }} release-tag: ${{ steps.vars.outputs.release-tag }} @@ -71,7 +71,7 @@ jobs: reuse: name: REUSE Compliance needs: init - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Checkout repository uses: actions/checkout@v6 @@ -80,7 +80,7 @@ jobs: uses: fsfe/reuse-action@v6 build: - name: Build Archive + name: Build win-x64 needs: - init - reuse @@ -138,7 +138,7 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-latest + - os: ubuntu-26.04 rid: linux-x64 - os: macos-latest rid: osx-x64 @@ -227,7 +227,7 @@ jobs: # Versioned releases are immutable and tag-driven. Branch and manual runs # still produce Actions artifacts without modifying a published release. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 permissions: contents: write steps: diff --git a/scripts/ps5_names.txt b/scripts/ps5_names.txt index 95b4111..d650549 100644 --- a/scripts/ps5_names.txt +++ b/scripts/ps5_names.txt @@ -154456,3 +154456,6 @@ sceNpEAAccessInitialize sceNpEAAccessTerminate sceNpHasEAAccessSubscription sceNpHasEAAccessSubscriptionAbortRequest +sceAgcAddPrimStateRegisters +sceVoiceQoSSetMode +sceVoiceQoSTerminate diff --git a/src/SharpEmu.Libs/Agc/AgcExports.cs b/src/SharpEmu.Libs/Agc/AgcExports.cs index 9cf3cdc..78dbde6 100644 --- a/src/SharpEmu.Libs/Agc/AgcExports.cs +++ b/src/SharpEmu.Libs/Agc/AgcExports.cs @@ -2117,6 +2117,7 @@ public static partial class AgcExports // populates the first 3 pairs; zero the rest of the scanned window so // every unpopulated slot is a harmless failed probe instead of // guest-stack garbage. + #pragma warning disable SHEM004 [SysAbiExport( Nid = "dbOlWdppb4o", ExportName = "sceAgcAddPrimStateRegisters",