46
46
restore-keys : ${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ env.HOST }}-ccache
47
47
# Pip install dependencies
48
48
- name : Install Python dependencies
49
- run : python${{ env.PYTHON_VERSION }} -m pip install -U 'pip' 'build' 'pybind11-stubgen~=2.5' 'numpy<2 ' 'py-build-cmake~=0.2.0a12'
49
+ run : python${{ env.PYTHON_VERSION }} -m pip install -U 'pip' 'build' 'pybind11-stubgen~=2.5' 'numpy<3 ' 'py-build-cmake~=0.2.0a12'
50
50
# Build
51
51
- name : Native build
52
52
run : |
60
60
-D USE_GLOBAL_PYBIND11=On \
61
61
-D ALPAQA_WITH_CUTEST=On \
62
62
-D ALPAQA_WITH_EXTERNAL_CASADI=On \
63
- -D CMAKE_FIND_ROOT_PATH="$staging/pybind11;$staging/eigen-master;$staging/casadi"
63
+ -D CMAKE_FIND_ROOT_PATH="$staging/pybind11-2.13.6 ;$staging/eigen-master;$staging/casadi"
64
64
$pbc_cli -B native-build build -- -t ${{ env.C_EXTENSIONS }}
65
65
$pbc_cli -B native-build install --component python_stubs -- --prefix "$PWD/staging/python"
66
66
tar cf stubs.tar -C "$PWD/staging" python
80
80
strategy :
81
81
matrix :
82
82
pypy : ['']
83
- python-version : ['3.8', '3.9', '3.10', '3.11', '3.12']
83
+ python-version : ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
84
84
host : [x86_64-centos7-linux-gnu, armv7-neon-linux-gnueabihf, armv6-rpi-linux-gnueabihf, aarch64-rpi3-linux-gnu]
85
+ exclude :
86
+ - python-version : ' 3.13'
87
+ host : armv6-rpi-linux-gnueabihf
85
88
env :
86
89
CMAKE_C_COMPILER_LAUNCHER : ccache
87
90
CMAKE_CXX_COMPILER_LAUNCHER : ccache
@@ -111,7 +114,7 @@ jobs:
111
114
restore-keys : ${{ runner.os }}-${{ matrix.pypy }}${{ matrix.python-version }}-${{ matrix.host }}-ccache
112
115
# Pip install dependencies
113
116
- name : Install Python dependencies
114
- run : python${{ matrix.python-version }} -m pip install -U 'pip' 'build' 'pybind11-stubgen~=2.5' 'numpy<2 ' 'py-build-cmake~=0.2.0a12'
117
+ run : python${{ matrix.python-version }} -m pip install -U 'pip' 'build' 'pybind11-stubgen~=2.5' 'numpy<3 ' 'py-build-cmake~=0.2.0a12'
115
118
# Download stubs
116
119
- name : Download stubs
117
120
uses : actions/download-artifact@v4
@@ -130,7 +133,7 @@ jobs:
130
133
config = ["Debug", "Release"]
131
134
generator = "Ninja Multi-Config"
132
135
[cmake.options]
133
- CMAKE_FIND_ROOT_PATH = "$staging/pybind11-2.11.1 ;$staging/eigen-master;$staging/casadi"
136
+ CMAKE_FIND_ROOT_PATH = "$staging/pybind11-2.13.6 ;$staging/eigen-master;$staging/casadi"
134
137
USE_GLOBAL_PYBIND11 = "On"
135
138
ALPAQA_WITH_CUTEST = "On"
136
139
ALPAQA_WITH_EXTERNAL_CASADI = "On"
@@ -201,7 +204,7 @@ jobs:
201
204
config = ["Debug"]
202
205
generator = "Ninja Multi-Config"
203
206
[cmake.options]
204
- CMAKE_FIND_ROOT_PATH = "$staging/pybind11-2.11.1 ;$staging/eigen-master;$staging/casadi"
207
+ CMAKE_FIND_ROOT_PATH = "$staging/pybind11-2.13.6 ;$staging/eigen-master;$staging/casadi"
205
208
USE_GLOBAL_PYBIND11 = "On"
206
209
ALPAQA_WITH_CUTEST = "On"
207
210
ALPAQA_WITH_EXTERNAL_CASADI = "On"
@@ -248,7 +251,7 @@ jobs:
248
251
strategy :
249
252
matrix :
250
253
arch : ['AMD64', 'ARM64', 'x86']
251
- python-id : ['cp38-', 'cp39-', 'cp310-', 'cp311-', 'cp312-']
254
+ python-id : ['cp38-', 'cp39-', 'cp310-', 'cp311-', 'cp312-', 'cp313' ]
252
255
exclude :
253
256
- arch : ' ARM64'
254
257
python-id : ' cp38-'
@@ -314,13 +317,13 @@ jobs:
314
317
runs-on : macos-13
315
318
strategy :
316
319
matrix :
317
- python-version : ['3.8', '3.9', '3.10', '3.11', '3.12']
320
+ python-version : ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
318
321
env :
319
322
CMAKE_C_COMPILER_LAUNCHER : ccache
320
323
CMAKE_CXX_COMPILER_LAUNCHER : ccache
321
324
CCACHE_DIR : /tmp/.ccache
322
325
DEVELOPER_DIR : /Applications/Xcode_15.2.app/Contents/Developer
323
- MACOSX_DEPLOYMENT_TARGET : ' 10.15 '
326
+ MACOSX_DEPLOYMENT_TARGET : ' 11.0 '
324
327
steps :
325
328
- uses : actions/checkout@v4
326
329
with :
@@ -366,7 +369,7 @@ jobs:
366
369
run : |
367
370
source ./py-venv/bin/activate
368
371
CMAKE_PREFIX_PATH="$VIRTUAL_ENV:$CMAKE_PREFIX_PATH" \
369
- _PYTHON_HOST_PLATFORM='macosx-10.15 -universal2' \
372
+ _PYTHON_HOST_PLATFORM='macosx-11.0 -universal2' \
370
373
ARCHFLAGS='-arch arm64 -arch x86_64' \
371
374
python -m build -w .
372
375
- name : Upload
0 commit comments