Skip to content

Commit b74d676

Browse files
committed
set xmake version 2.8.7
1 parent 55d0804 commit b74d676

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.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+
wget -q https://github.com/xmake-io/xmake/releases/download/v2.8.7/xmake-v2.8.7.gz.run
51+
sudo chmod 777 ./xmake-v2.8.7.gz.run
52+
./xmake-v2.8.7.gz.run
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/f/ffmpeg/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ do
6666
if package:config("shared") then
6767
table.insert(configs, "--enable-shared")
6868
end
69-
table.insert(configs, "--disable-doc")
69+
7070
local buildenvs = import("package.tools.autoconf").buildenvs(package,
7171
{ldflags = ldflags, packagedeps = packagedeps})
7272
import("package.tools.autoconf").configure(package, configs, {envs = buildenvs})

0 commit comments

Comments
 (0)