From 1672f26b037b66b63498dc5a3375f2fd7a8601d4 Mon Sep 17 00:00:00 2001 From: RuoyuZhou Date: Thu, 9 Apr 2026 19:27:27 +0800 Subject: [PATCH 1/4] Add linx-model submodule CI coverage --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ .gitmodules | 5 +++++ tools/model | 1 + 3 files changed, 28 insertions(+) create mode 160000 tools/model diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b283f9dc..cae6a84b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,3 +79,25 @@ jobs: exit 0 fi shellcheck -x -S error "${files[@]}" + + model: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Init tools/model submodule + run: | + git submodule sync -- tools/model + git submodule update --init tools/model + - name: Install build deps + run: sudo apt-get update && sudo apt-get install -y ninja-build + - name: Configure tools/model + run: cmake -S tools/model -B tools/model/build-ci -G Ninja + - name: Build tools/model + run: cmake --build tools/model/build-ci + - name: Run tools/model tests + run: ctest --test-dir tools/model/build-ci --output-on-failure diff --git a/.gitmodules b/.gitmodules index 13f23ddd..aa9c11b4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -46,3 +46,8 @@ [submodule "lib/mesa3d"] path = lib/mesa3d url = https://github.com/LinxISA/mesa3d.git +[submodule "tools/model"] + path = tools/model + url = https://github.com/LinxISA/linx-model.git + branch = main + update = checkout diff --git a/tools/model b/tools/model new file mode 160000 index 00000000..4a447b0e --- /dev/null +++ b/tools/model @@ -0,0 +1 @@ +Subproject commit 4a447b0e7f20b8d74376ce33ea2c846b2fef1b94 From 38e3f297e4e6741e02f924677a6fd528217abd82 Mon Sep 17 00:00:00 2001 From: RuoyuZhou Date: Thu, 9 Apr 2026 19:51:16 +0800 Subject: [PATCH 2/4] Update linx-model submodule to format-fixed head --- tools/model | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/model b/tools/model index 4a447b0e..dd8ca06d 160000 --- a/tools/model +++ b/tools/model @@ -1 +1 @@ -Subproject commit 4a447b0e7f20b8d74376ce33ea2c846b2fef1b94 +Subproject commit dd8ca06d7b2f0cdd7b170ac38e952e1436d01a78 From d6f7c881249b6ca687c3af4f2d8a7543da16002f Mon Sep 17 00:00:00 2001 From: RuoyuZhou Date: Thu, 9 Apr 2026 19:58:20 +0800 Subject: [PATCH 3/4] Update linx-model submodule to latest CI fixes --- tools/model | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/model b/tools/model index dd8ca06d..85b66eda 160000 --- a/tools/model +++ b/tools/model @@ -1 +1 @@ -Subproject commit dd8ca06d7b2f0cdd7b170ac38e952e1436d01a78 +Subproject commit 85b66edadc246aabbe3703baaf2dba1ca1c7076e From e835fa7f17ae7f4c50f1895008f35608999b3040 Mon Sep 17 00:00:00 2001 From: RuoyuZhou Date: Thu, 9 Apr 2026 20:05:41 +0800 Subject: [PATCH 4/4] Point linx-model submodule at merged main commit --- tools/model | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/model b/tools/model index 85b66eda..ed0bc04e 160000 --- a/tools/model +++ b/tools/model @@ -1 +1 @@ -Subproject commit 85b66edadc246aabbe3703baaf2dba1ca1c7076e +Subproject commit ed0bc04e026909fde356281fa0f4081e5ae809d7