return 0 when reading SCFG_ROM on the arm7 if it is disabled by SCFG_EXT #3114
Workflow file for this run
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: Windows | |
on: | |
push: | |
branches: | |
- master | |
- ci/* | |
pull_request: | |
branches: | |
- master | |
env: | |
MELONDS_GIT_BRANCH: ${{ github.ref }} | |
MELONDS_GIT_HASH: ${{ github.sha }} | |
MELONDS_BUILD_PROVIDER: GitHub Actions | |
# MELONDS_VERSION_SUFFIX: " RC" | |
jobs: | |
build: | |
runs-on: windows-2025 | |
defaults: | |
run: | |
shell: msys2 {0} | |
env: | |
VCPKG_BINARY_SOURCES: clear;files,${{ github.workspace }}/vcpkg_cache,readwrite | |
steps: | |
- name: Check out sources | |
uses: actions/checkout@v3 | |
- name: Set up MSYS2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: ucrt64 | |
update: true | |
pacboy: gcc:p cmake:p ninja:p make:p | |
- name: Restore vcpkg cache | |
uses: actions/cache/restore@v4 | |
with: | |
path: ${{ github.workspace }}/vcpkg_cache | |
key: vcpkg-x86_64-mingw-${{ hashFiles('vcpkg.json') }} | |
restore-keys: vcpkg-x86_64-mingw- | |
- name: Set up vcpkg | |
uses: lukka/run-vcpkg@v11 | |
with: | |
vcpkgJsonGlob: vcpkg.json | |
- name: Configure | |
run: cmake --preset=release-mingw-x86_64 -DMELONDS_EMBED_BUILD_INFO=ON | |
- name: Build | |
run: cmake --build --preset=release-mingw-x86_64 | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: melonDS-windows-x86_64 | |
path: .\build\release-mingw-x86_64\melonDS.exe | |
- name: Save vcpkg cache | |
uses: actions/cache/save@v4 | |
with: | |
path: ${{ github.workspace }}/vcpkg_cache | |
key: vcpkg-x86_64-mingw-${{ hashFiles('vcpkg.json') }} |