fix(audio): handle larger BGM buffers #475
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: Build | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - '**' | |
| tags-ignore: | |
| - '**' | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os[0] }} | |
| strategy: | |
| matrix: | |
| os: [ | |
| [macos-latest, arm64, bash], | |
| [macos-15-intel, x86_64, bash], | |
| [ubuntu-latest, x86_64, bash], | |
| [ubuntu-24.04-arm, arm64, bash] | |
| ] | |
| fail-fast: false | |
| defaults: | |
| run: | |
| shell: ${{ matrix.os[2] }} {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - &setup_pspdev | |
| name: Setup PSPDEV Environment | |
| run: | | |
| .github/scripts/setup_pspdev.sh "${{ matrix.os[0] }}" "${{ matrix.os[1] }}" | |
| - name: Runs build in shell | |
| run: | | |
| set -euo pipefail | |
| make | |
| make install | |
| - name: Build all samples (Vanilla Makefile) | |
| run: | | |
| set -euo pipefail | |
| for d in samples/*/ ; do | |
| if [ -f "$d/makefile" ] || [ -f "$d/Makefile" ]; then | |
| echo "Building $d" | |
| make -C "$d" | |
| fi | |
| done | |
| - name: Build all samples (CMake) | |
| run: | | |
| set -euo pipefail | |
| for d in samples/*/ ; do | |
| if [ -f "$d/CMakeLists.txt" ]; then | |
| echo "Building (CMake) $d" | |
| ( | |
| cd "$d" | |
| cmake --preset psp | |
| cmake --build --preset psp -j | |
| ) | |
| fi | |
| done |