Merge pull request #1 from Schrottpage/codex/build-netsurf-for-new-3d… #9
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: NetSurf 3DS build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: devkitpro/devkitarm:latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: true | |
| - name: Install 3DS dependencies | |
| run: | | |
| dkp-pacman -Syy --noconfirm | |
| dkp-pacman -S --needed --noconfirm \ | |
| 3ds-sdl \ | |
| 3ds-mbedtls \ | |
| 3ds-curl \ | |
| 3ds-libpng \ | |
| 3ds-libjpeg-turbo \ | |
| 3ds-libiconv \ | |
| 3ds-freetype | |
| - name: Build bundles | |
| run: | | |
| make bundle -j2 | |
| - name: Upload 3DSX artifact | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: netsurf-3dsx | |
| path: bundle/netsurf-3dsx.zip | |
| if-no-files-found: error | |
| - name: Upload resources artifact | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: resources | |
| path: bundle/resources.zip | |
| if-no-files-found: error |