File tree Expand file tree Collapse file tree
repo/packages/s/sdl2_image Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 submodules : true
4646
4747 - name : ⬇️ install xmake
48- uses : xmake-io/github-action-setup-xmake@v1
48+ shell : bash
49+ run : |
50+ sudo add-apt-repository ppa:xmake-io/xmake
51+ sudo apt update
52+ sudo apt install xmake
4953
5054 - name : 👷 build
5155 shell : bash
Original file line number Diff line number Diff line change 11add_rules (" mode.debug" , " mode.release" )
22
3- add_requires (" sdl2" ,{ configs = { shared = false }} )
4- add_requires (" sdl2_image" ,{ configs = { shared = false }} )
3+ add_requires (" sdl2" )
4+ add_requires (" sdl2_image" )
55add_requires (" ffmpeg" )
66
77target (" player" )
Original file line number Diff line number Diff line change 111111 end )
112112
113113 on_test (function (package )
114- -- assert(package:has_cfuncs("IMG_Init", {includes = "SDL2/SDL_image.h", configs = {defines = "SDL_MAIN_HANDLED"}}))
114+ assert (package :has_cfuncs (" IMG_Init" , {includes = " SDL2/SDL_image.h" , configs = {defines = " SDL_MAIN_HANDLED" }}))
115115 end )
116116end
You can’t perform that action at this time.
0 commit comments