File tree Expand file tree Collapse file tree 1 file changed +12
-26
lines changed
Expand file tree Collapse file tree 1 file changed +12
-26
lines changed Original file line number Diff line number Diff line change 1- name : Build Brus-16
1+ name : Brus-16
22
33on : push
44
55jobs :
6- linux :
6+ build-all :
77 runs-on : ubuntu-latest
88 steps :
99 - uses : actions/checkout@main
1010 - uses : libsdl-org/setup-sdl@main
11- with :
12- version : 3-head
13- install-linux-dependencies : true
14- - run : make emu
15- - run : make games
16- - run : |
17- mkdir dist
18- mv brus16 dist/
19- mv *.bin dist/
20- - uses : actions/upload-artifact@main
21- with :
22- name : brus16_linux
23- path : dist/
24-
25- windows :
26- runs-on : ubuntu-latest
27- steps :
28- - uses : actions/checkout@main
11+ with : { version: 3-head, install-linux-dependencies: true }
2912 - run : |
3013 sudo apt-get install -y mingw-w64
31- wget https://github.com/libsdl-org/SDL/releases/download/prerelease-3.3.4/SDL3-devel-3.3.4-mingw.tar.gz
32- tar -xzf SDL3-devel-3.3.4-mingw.tar.gz
33- - run : make emu OS=Windows_NT CC=x86_64-w64-mingw32-gcc SDL=SDL3-3.3.4/x86_64-w64-mingw32
34- - run : make games
14+ wget -q https://github.com/libsdl-org/SDL/releases/download/prerelease-3.3.4/SDL3-devel-3.3.4-mingw.tar.gz
15+ tar -xzf SDL3-devel-3.3.4-mingw.tar.gz
3516 - run : |
3617 mkdir dist
18+ make emu LDFLAGS="$(pkg-config --static --libs sdl3)"
19+ mv brus16 dist/
20+ rm src/*.o
21+ make emu OS=Windows_NT CC=x86_64-w64-mingw32-gcc SDL=SDL3-3.3.4/x86_64-w64-mingw32
3722 mv brus16.exe dist/
3823 cp SDL3-3.3.4/x86_64-w64-mingw32/bin/SDL3.dll dist/
39- mv *.bin dist/
24+ make games
25+ mv *.bin dist/
4026 - uses : actions/upload-artifact@main
4127 with :
42- name : brus16_windows
28+ name : Brus-16
4329 path : dist/
You can’t perform that action at this time.
0 commit comments