Skip to content

Commit 50fb986

Browse files
committed
Ensure libtcod vendor submodules are included without including others
1 parent 29dd172 commit 50fb986

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

‎.github/workflows/python-package.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
persist-credentials: false
4545
- name: Checkout submodules
46-
run: git submodule update --init --recursive --depth 1
46+
run: git submodule update --init --depth 1 libtcod libtcod/src/vendor
4747
- name: Install typing dependencies
4848
run: pip install mypy pytest -r requirements.txt
4949
- name: Mypy
@@ -63,7 +63,7 @@ jobs:
6363
persist-credentials: false
6464
fetch-depth: ${{ env.git-depth }}
6565
- name: Checkout submodules
66-
run: git submodule update --init --recursive --depth 1
66+
run: git submodule update --init --depth 1 libtcod libtcod/src/vendor
6767
- name: Install build
6868
run: pip install build
6969
- name: Build source distribution
@@ -91,7 +91,7 @@ jobs:
9191
persist-credentials: false
9292
fetch-depth: ${{ env.git-depth }}
9393
- name: Checkout submodules
94-
run: git submodule update --init --recursive --depth 1
94+
run: git submodule update --init --depth 1 libtcod libtcod/src/vendor
9595
- uses: actions/setup-python@v7
9696
with:
9797
python-version: "3.x"
@@ -132,7 +132,7 @@ jobs:
132132
persist-credentials: false
133133
fetch-depth: ${{ env.git-depth }}
134134
- name: Checkout submodules
135-
run: git submodule update --init --recursive --depth 1
135+
run: git submodule update --init --depth 1 libtcod libtcod/src/vendor
136136
- name: Set up Python ${{ matrix.python-version }}
137137
uses: actions/setup-python@v7
138138
with:
@@ -190,7 +190,7 @@ jobs:
190190
persist-credentials: false
191191
fetch-depth: ${{ env.git-depth }}
192192
- name: Checkout submodules
193-
run: git submodule update --init --recursive --depth 1
193+
run: git submodule update --init --depth 1 libtcod libtcod/src/vendor
194194
- name: Install Python dependencies
195195
run: pip install -r docs/requirements.txt
196196
- name: Install package
@@ -214,7 +214,7 @@ jobs:
214214
persist-credentials: false
215215
fetch-depth: ${{ env.git-depth }}
216216
- name: Checkout submodules
217-
run: git submodule update --init --depth 1
217+
run: git submodule update --init --depth 1 libtcod libtcod/src/vendor
218218
- name: Set up Python
219219
uses: actions/setup-python@v7
220220
with:
@@ -248,7 +248,7 @@ jobs:
248248
persist-credentials: false
249249
fetch-depth: ${{ env.git-depth }}
250250
- name: Checkout submodules
251-
run: git submodule update --init --recursive --depth 1
251+
run: git submodule update --init --depth 1 libtcod libtcod/src/vendor
252252
- name: Build wheels
253253
uses: pypa/cibuildwheel@v4.3.3
254254
env:
@@ -305,7 +305,7 @@ jobs:
305305
persist-credentials: false
306306
fetch-depth: ${{ env.git-depth }}
307307
- name: Checkout submodules
308-
run: git submodule update --init --recursive --depth 1
308+
run: git submodule update --init --depth 1 libtcod libtcod/src/vendor
309309
- uses: actions/setup-python@v7
310310
with:
311311
python-version: "3.x"
@@ -353,7 +353,7 @@ jobs:
353353
persist-credentials: false
354354
fetch-depth: ${{ env.git-depth }}
355355
- name: Checkout submodules
356-
run: git submodule update --init --recursive --depth 1
356+
run: git submodule update --init --depth 1 libtcod libtcod/src/vendor
357357
- uses: pypa/cibuildwheel@v4.3.3
358358
env:
359359
CIBW_BUILD: ${{ matrix.python }}-pyodide_wasm32

‎.readthedocs.yaml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ build:
1313
- libsdl3-dev
1414

1515
submodules:
16-
include: all
16+
include:
17+
- libtcod
18+
- libtcod/src/vendor
1719

1820
# Build documentation in the docs/ directory with Sphinx
1921
sphinx:

0 commit comments

Comments
 (0)