Skip to content

Commit 12a1709

Browse files
committed
- dont use recursive submodule checkout
1 parent a437ef0 commit 12a1709

3 files changed

Lines changed: 22 additions & 4 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
git submodule update --init --remote
4+
5+
pushd libsbml_dependencies
6+
7+
# only checkout the expat submodule
8+
git submodule update --init --remote expat
9+
10+
popd

.github/workflows/experimental_wheels.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ jobs:
1616
- uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0 # Optional, use if you use setuptools_scm
19-
submodules: recursive # Optional, use if you have submodules
19+
20+
- name: checkout needed submodules
21+
shell: bash
22+
run: |
23+
./.github/workflows/checkout-submodules.sh
2024
2125
- name: Build SDist
2226
run: pipx run build --sdist
@@ -34,7 +38,7 @@ jobs:
3438
fail-fast: false
3539
matrix:
3640
os: [ubuntu-latest, windows-latest, macos-latest]
37-
python_version: ['cp38-*', 'cp39-*', 'cp310-*', 'cp311-*', 'cp312-*']
41+
python_version: ['cp39-*', 'cp310-*', 'cp311-*', 'cp312-*', 'cp313-*']
3842

3943
steps:
4044
- uses: actions/download-artifact@v4
@@ -50,7 +54,7 @@ jobs:
5054
if: matrix.os == 'macos-latest'
5155
run: brew install swig
5256

53-
- uses: pypa/cibuildwheel@v2.16.5
57+
- uses: pypa/cibuildwheel@v2.21.3
5458
env:
5559
CIBW_BUILD: ${{ matrix.python_version }}
5660
CIBW_ARCHS_MACOS: x86_64 arm64

.github/workflows/wheels.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ jobs:
1111
- uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0 # Optional, use if you use setuptools_scm
14-
submodules: recursive # Optional, use if you have submodules
14+
15+
- name: checkout needed submodules
16+
shell: bash
17+
run: |
18+
./.github/workflows/checkout-submodules.sh
1519
1620
- name: Build SDist
1721
run: pipx run build --sdist

0 commit comments

Comments
 (0)