gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 159ac56d7c8355490f6e89bdf772ab89f03da16b parent 453bf51b5d44d7b6c060d5862a0e86538057e1e9 Author: bbbbbr <bbbbbr@users.noreply.github.com> Date: Mon, 14 Feb 2022 21:33:33 -0800 Merge pull request #322 from gbdk-2020/cicd_win32 CI/CD: Build and Build Examples: Win x32 build Diffstat:
| M | .github/workflows/gbdk_build_examples.yml | 37 | +++++++++++++++++++++++++++---------- |
1 file changed, 27 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/gbdk_build_examples.yml b/.github/workflows/gbdk_build_examples.yml @@ -11,12 +11,9 @@ on: jobs: build: + runs-on: ${{ matrix.os }} strategy: - matrix: - os: - - ubuntu-20.04 - - macos-10.15 - - windows-2019 + matrix: include: - os: ubuntu-20.04 name: Linux-x64 @@ -24,8 +21,8 @@ jobs: name: MacOS-x64 - os: windows-2019 name: Windows-x64 -# fail-fast: false - runs-on: ${{ matrix.os }} + - os: windows-2019 + name: Windows-x32 steps: # ==== OS Specific Dependencies ==== @@ -57,10 +54,18 @@ jobs: # Use patched sms/gg z80 build: # For GBDK-2020 4.0.5 # curl -Lo sdcc.zip https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/sdcc-12539-patched/sdcc-x86_64-w64-mingw32-20210711-12539--sms-gg-patched.zip - # For GBDK-2020 4.0.6: adds makebin -yN (also seems to trigger AV less) + # For GBDK-2020 4.0.6: adds makebin -yN curl -Lo sdcc.zip https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/sdcc-12539-patched-gbdk0-4.0.6/sdcc-x86_64-w64-mingw32-20210711-12539--sms-gg-patched_makebin_yN.zip 7z x sdcc.zip + - name: Windows-x32 Depends + if: matrix.name == 'Windows-x32' + run: | + # Use patched sms/gg z80 build: + # For GBDK-2020 4.0.6: adds makebin -yN + curl -Lo sdcc.zip https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/sdcc-12539-patched-gbdk0-4.0.6/sdcc-i586-mingw32msvc-20210711-12539--sms-gg-patched_makebin_yN.zip + 7z x sdcc.zip + - name: Windows Depends MSYS2/MinGW64 if: matrix.name == 'Windows-x64' uses: msys2/setup-msys2@v2 @@ -73,6 +78,18 @@ jobs: base-devel mingw-w64-x86_64-toolchain + - name: Windows Depends MSYS2/MinGW32 + if: matrix.name == 'Windows-x32' + uses: msys2/setup-msys2@v2 + with: + msystem: MINGW32 + path-type: minimal #strict + release: false + update: false + install: >- + base-devel + mingw-w64-i686-toolchain + # ==== Build Steps ==== - name: Check out GBDK-2020 uses: actions/checkout@v2 @@ -90,7 +107,7 @@ jobs: echo "BUILD_PACKAGE_FILENAME=gbdk-2020-${{ matrix.name }}.tar.gz" >> $GITHUB_ENV - name: Pre-Build Windows - if: matrix.name == 'Windows-x64' + if: (matrix.name == 'Windows-x64') || (matrix.name == 'Windows-x32') shell: bash run: | echo "BUILD_PACKAGE_FILENAME=gbdk-2020-${{ matrix.name }}.zip" >> $GITHUB_ENV @@ -114,7 +131,7 @@ jobs: cd .. - name: Build GBDK-2020 Windows - if: matrix.name == 'Windows-x64' + if: (matrix.name == 'Windows-x64') || (matrix.name == 'Windows-x32') shell: cmd run: | set SDCCDIR=%CD%\sdcc
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.