Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions tools/model
Submodule model added at 4a447b
Loading