gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit cf7420a7cc99c4a90d2aa094693a231d6cb13f71 parent 807872a94a512ecf539b371231a1cbd31693dc19 Author: bbbbbr <bbbbbr@users.noreply.github.com> Date: Mon, 17 Oct 2022 12:24:01 -0700 Merge pull request #425 from bbbbbr/build_examples_package CI/CD: Build Examples: Upload build artifacts Diffstat:
| M | .github/workflows/gbdk_build_examples.yml | 40 | +++++++++++++++++++++++++++++++++++++++- |
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/gbdk_build_examples.yml b/.github/workflows/gbdk_build_examples.yml @@ -145,7 +145,15 @@ jobs: set SDCCDIR=%CD%\sdcc cd gbdk-2020 msys2 -c 'make' - # Now build the examples for all platforms + cd .. + + - name: Build Examples GBDK-2020 Windows + if: (matrix.name == 'Windows-x64') || (matrix.name == 'Windows-x32') + shell: cmd + run: | + # For Windows build Examples is a separate stage due to commands getting skipped(?) after calling msys make + # Now build the examples + cd gbdk-2020 cd build cd gbdk cd examples @@ -155,3 +163,33 @@ jobs: cd .. cd .. + # ==== Packaging ==== + - name: Package build Linux/MacOS + if: (matrix.name == 'Linux-x64') || (matrix.name == 'MacOS-x64') + shell: bash + run: | + cd gbdk-2020 + mkdir package + cd build + tar czf ../package/${{ env.BUILD_PACKAGE_FILENAME }} gbdk/examples + cd .. + cd .. + + - name: Package build Windows + if: (matrix.name == 'Windows-x64') || (matrix.name == 'Windows-x32') + shell: cmd + run: | + cd gbdk-2020 + mkdir package + cd build + 7z a ../package/${{ env.BUILD_PACKAGE_FILENAME }} gbdk/examples + cd .. + cd .. + + - name: Store build + if: (matrix.name == 'Linux-64') || (matrix.name == 'MacOS-64') || ('Windows-x64') || ('Windows-x32') + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.name }} build + path: gbdk-2020/package/${{ env.BUILD_PACKAGE_FILENAME }} + # retention-days: 14
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.