Skip to content

Commit 3eeb574

Browse files
committed
set xmake version 2.8.7
1 parent 51fda7b commit 3eeb574

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,18 @@ 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
5256
run: |
5357
export XMAKE_ROOT=y # Only need to use "--root" in CI
5458
xmake --version
5559
source env.sh
56-
export RT_XMAKE_LINK_TYPE="static"
5760
pushd apps
5861
xmake f -a ${{ matrix.arch }} -vyD
5962
xmake -j$(nproc) -vyD

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)