test #13
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: [push, pull_request] | |
| jobs: | |
| build: | |
| if: github.repository == 'pcercuei/bloom' | |
| runs-on: ubuntu-latest | |
| container: pcercuei/dreamcast-toolchain:stable | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: KallistiOS/KallistiOS | |
| path: kos | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: KallistiOS/kos-ports | |
| path: kos-ports | |
| - name: install-dependencies | |
| run: | | |
| apk --update add --no-cache coreutils | |
| - name: build KallistiOS | |
| run: | | |
| echo 'KOS_BASE=${{ github.workspace }}/kos' > kos/environ.sh | |
| sed 's/KOS_BASE=.*$//' kos/doc/environ.sh.sample >> kos/environ.sh | |
| . kos/environ.sh | |
| make -C kos | |
| - name: build KallistiOS ports | |
| continue-on-error: true | |
| run: | | |
| make -C kos-ports/libparallax install | |
| make -C kos-ports/libsmb2 install | |
| - name: build Bloom | |
| run: | | |
| kos-cmake -DCMAKE_BUILD_TYPE=Release . | |
| make |