Skip to content

Sync upstream main and unify the multi-ROM runtime config #38

Sync upstream main and unify the multi-ROM runtime config

Sync upstream main and unify the multi-ROM runtime config #38

Workflow file for this run

name: Build
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: mph-build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
policy:
name: ROM-free release policy
runs-on: ubuntu-24.04
steps:
- name: Check out sources
uses: actions/checkout@v4
- name: Check ROM-free helper syntax
shell: bash
run: |
set -euo pipefail
python -m py_compile \
tools/patch_ndsrecomp_rom_free_release.py \
tools/patch_recomp_ui_mph_multirom.py \
tools/ci/check_rom_free_release_sources.py \
tools/ci/prepare_freebios_banks.py \
tools/ci/verify-nightly-assets.py
bash -n tools/package-linux-appimage.sh
pwsh -NoProfile -Command '
$tokens = $null; $errors = $null
[System.Management.Automation.Language.Parser]::ParseFile(
(Resolve-Path "tools/package-windows-nightly.ps1"),
[ref]$tokens, [ref]$errors) | Out-Null
if ($errors.Count -ne 0) {
Write-Error ($errors | Out-String)
exit 1
}
'
- name: Verify no ROM-secret release path
run: python tools/ci/check_rom_free_release_sources.py
windows:
name: Build Windows
needs: policy
uses: ./.github/workflows/build-windows.yml
linux:
name: Build Linux
needs: policy
uses: ./.github/workflows/build-linux.yml