gerion song #24
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: Brus-16 | |
| on: push | |
| jobs: | |
| build-all: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@main | |
| - uses: libsdl-org/setup-sdl@main | |
| with: { version: 3-head, install-linux-dependencies: true, cmake-arguments: -DSDL_SHARED=OFF -DSDL_STATIC=ON } | |
| - run: | | |
| sudo apt-get install -y mingw-w64 | |
| wget -q https://github.com/libsdl-org/SDL/releases/download/prerelease-3.3.4/SDL3-devel-3.3.4-mingw.tar.gz | |
| tar -xzf SDL3-devel-3.3.4-mingw.tar.gz | |
| - run: | | |
| mkdir dist | |
| make emu LDFLAGS="$(pkg-config --static --libs sdl3)" | |
| mv brus16 dist/ | |
| make emu OS=Windows_NT CC=x86_64-w64-mingw32-gcc SDL=SDL3-3.3.4/x86_64-w64-mingw32 | |
| mv brus16.exe dist/ | |
| cp SDL3-3.3.4/x86_64-w64-mingw32/bin/SDL3.dll dist/ | |
| make games | |
| mv *.bin dist/ | |
| - uses: actions/upload-artifact@main | |
| with: | |
| name: Brus-16 | |
| path: dist/ |