Skip to content

Commit 539e9f8

Browse files
committed
test
1 parent c3697bb commit 539e9f8

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ jobs:
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

apps/player/xmake.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
add_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")
55
add_requires("ffmpeg")
66

77
target("player")

repo/packages/s/sdl2_image/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,6 @@ do
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)
116116
end

0 commit comments

Comments
 (0)