From 217c0d1342e90683734c7ea55840e5482aff5839 Mon Sep 17 00:00:00 2001 From: n15421 <119112174+n15421@users.noreply.github.com> Date: Mon, 2 Jun 2025 22:20:57 +0800 Subject: [PATCH] ci: fix build chore: add `set_symbols("debug")` in build script --- .github/workflows/build.yml | 3 ++- .github/workflows/release.yml | 3 ++- xmake.lua | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af8e62f..6a4f2b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,8 @@ jobs: - uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: latest + xmake-version: 2.9.9 + - run: | xmake repo -u diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7647da6..7fe23dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,8 @@ jobs: - uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: latest + xmake-version: 2.9.9 + - run: | xmake repo -u diff --git a/xmake.lua b/xmake.lua index f5696d6..902aa89 100644 --- a/xmake.lua +++ b/xmake.lua @@ -39,6 +39,7 @@ target("Cleaner") -- Change this to your mod name. set_exceptions("none") set_kind("shared") set_languages("cxx20") + set_symbols("debug") after_build(function (target) local mod_packer = import("scripts.after_build")