diff --git a/.github/workflows/ci-debian13.yml b/.github/workflows/ci-debian13.yml index c961d90557..61916f064e 100644 --- a/.github/workflows/ci-debian13.yml +++ b/.github/workflows/ci-debian13.yml @@ -92,7 +92,7 @@ jobs: uses: actions/cache@v4 with: path: | - tmp/build/.build_cache + ${{ runner.workspace }}/mogan/build/.build_cache key: ${{ runner.os }}-build-qt683-${{ hashFiles('**/packages.lua') }} - name: Detect changes @@ -134,7 +134,7 @@ jobs: - '3rdparty/**' - name: config - run: xmake config -vD --policies=build.ccache -o tmp/build -m releasedbg --loro=yes --yes + run: xmake config -vD --policies=build.ccache -o ${{ runner.workspace }}/mogan/build -m releasedbg --loro=yes --yes - name: build lolly if: steps.filter.outputs.lolly == 'true' run: xmake build --yes -vD liblolly diff --git a/.github/workflows/ci-macos-arm64.yml b/.github/workflows/ci-macos-arm64.yml index 2d1a4eab4d..5a900c4678 100644 --- a/.github/workflows/ci-macos-arm64.yml +++ b/.github/workflows/ci-macos-arm64.yml @@ -161,7 +161,7 @@ jobs: key: xrepo-${{ runner.os }}-${{ matrix.arch }}-${{ hashFiles('xmake/vars.lua', 'lolly/xmake.lua', 'moebius/xmake.lua') }} - name: config - run: xmake config --policies=build.ccache -o ${{ runner.workspace }}/build -m releasedbg --loro=yes --yes + run: xmake config --policies=build.ccache -o ${{ runner.workspace }}/mogan/build -m releasedbg --loro=yes --yes - name: build lolly if: steps.filter.outputs.lolly == 'true' run: xmake build --yes -vD liblolly diff --git a/devel/0743.md b/devel/0743.md new file mode 100644 index 0000000000..820296213c --- /dev/null +++ b/devel/0743.md @@ -0,0 +1,6 @@ +# [0743] 解决 CI 测试 loro_tmu_test 找不到文件的问题 +## Why? +CI 中指定了 xmake build 文件夹的地址,导致测试运行的路径状态与本地不一致,测试无法找到对应的 tmu 文件。 + +## How +更改 CI 中指定的 build 地址 diff --git a/moebius/Kernel/Types/frame.cpp b/moebius/Kernel/Types/frame.cpp index 02ff63b68d..6d22756c30 100644 --- a/moebius/Kernel/Types/frame.cpp +++ b/moebius/Kernel/Types/frame.cpp @@ -1,4 +1,4 @@ - +// /****************************************************************************** * MODULE : frame.cpp * DESCRIPTION: coordinate frames