@@ -181,10 +181,10 @@ jobs:
181181 runs-on : ${{ matrix.runs-on }}
182182
183183 steps :
184- - uses : actions/checkout@v4
184+ - uses : actions/checkout@v5
185185
186186 - name : Setup Python ${{ matrix.python-version }}
187- uses : actions/setup-python@v5
187+ uses : actions/setup-python@v6
188188 with :
189189 python-version : ${{ matrix.python-version }}
190190 allow-prereleases : true
@@ -242,7 +242,7 @@ jobs:
242242 timeout-minutes : 40
243243 container : quay.io/pypa/musllinux_1_2_x86_64:latest
244244 steps :
245- - uses : actions/checkout@v4
245+ - uses : actions/checkout@v5
246246 with :
247247 fetch-depth : 0
248248
@@ -279,7 +279,7 @@ jobs:
279279 runs-on : ubuntu-latest
280280
281281 steps :
282- - uses : actions/checkout@v4
282+ - uses : actions/checkout@v5
283283
284284 - name : Setup Python ${{ matrix.python-version }} (deadsnakes)
285285 uses : deadsnakes/action@v3.2.0
@@ -366,7 +366,7 @@ jobs:
366366 container : " silkeh/clang:${{ matrix.clang }}${{ matrix.container_suffix }}"
367367
368368 steps :
369- - uses : actions/checkout@v4
369+ - uses : actions/checkout@v5
370370
371371 - name : Add wget and python3
372372 run : apt-get update && apt-get install -y python3-dev python3-numpy python3-pytest libeigen3-dev
@@ -403,7 +403,7 @@ jobs:
403403 container : nvidia/cuda:12.2.0-devel-ubuntu22.04
404404
405405 steps :
406- - uses : actions/checkout@v4
406+ - uses : actions/checkout@v5
407407
408408 # tzdata will try to ask for the timezone, so set the DEBIAN_FRONTEND
409409 - name : Install 🐍 3
@@ -427,7 +427,7 @@ jobs:
427427# container: centos:8
428428#
429429# steps:
430- # - uses: actions/checkout@v4
430+ # - uses: actions/checkout@v5
431431#
432432# - name: Add Python 3 and a few requirements
433433# run: yum update -y && yum install -y git python3-devel python3-numpy python3-pytest make environment-modules
@@ -473,7 +473,7 @@ jobs:
473473 # tzdata will try to ask for the timezone, so set the DEBIAN_FRONTEND
474474 DEBIAN_FRONTEND : ' noninteractive'
475475 steps :
476- - uses : actions/checkout@v4
476+ - uses : actions/checkout@v5
477477
478478 - name : Add NVHPC Repo
479479 run : |
@@ -534,7 +534,7 @@ jobs:
534534 container : " gcc:${{ matrix.gcc }}"
535535
536536 steps :
537- - uses : actions/checkout@v4
537+ - uses : actions/checkout@v5
538538
539539 - name : Add Python 3
540540 run : apt-get update; apt-get install -y python3-dev python3-numpy python3-pytest python3-pip libeigen3-dev
@@ -597,7 +597,7 @@ jobs:
597597 name : " 🐍 3 • ICC latest • x64"
598598
599599 steps :
600- - uses : actions/checkout@v4
600+ - uses : actions/checkout@v5
601601
602602 - name : Add apt repo
603603 run : |
@@ -710,7 +710,7 @@ jobs:
710710
711711 steps :
712712 - name : Latest actions/checkout
713- uses : actions/checkout@v4
713+ uses : actions/checkout@v5
714714
715715 - name : Add Python 3.8
716716 if : matrix.container == 'almalinux:8'
@@ -811,9 +811,9 @@ jobs:
811811 runs-on : ubuntu-latest
812812
813813 steps :
814- - uses : actions/checkout@v4
814+ - uses : actions/checkout@v5
815815
816- - uses : actions/setup-python@v5
816+ - uses : actions/setup-python@v6
817817 with :
818818 python-version : " 3.x"
819819
@@ -857,10 +857,10 @@ jobs:
857857 runs-on : windows-2022
858858
859859 steps :
860- - uses : actions/checkout@v4
860+ - uses : actions/checkout@v5
861861
862862 - name : Setup Python ${{ matrix.python }}
863- uses : actions/setup-python@v5
863+ uses : actions/setup-python@v6
864864 with :
865865 python-version : ${{ matrix.python }}
866866 architecture : x86
@@ -909,10 +909,10 @@ jobs:
909909 runs-on : windows-2022
910910
911911 steps :
912- - uses : actions/checkout@v4
912+ - uses : actions/checkout@v5
913913
914914 - name : Setup Python ${{ matrix.python }}
915- uses : actions/setup-python@v5
915+ uses : actions/setup-python@v6
916916 with :
917917 python-version : ${{ matrix.python }}
918918 architecture : x86
@@ -957,10 +957,10 @@ jobs:
957957 runs-on : windows-2022
958958
959959 steps :
960- - uses : actions/checkout@v4
960+ - uses : actions/checkout@v5
961961
962962 - name : Setup Python ${{ matrix.python }}
963- uses : actions/setup-python@v5
963+ uses : actions/setup-python@v6
964964 with :
965965 python-version : ${{ matrix.python }}
966966
@@ -1019,8 +1019,15 @@ jobs:
10191019 fail-fast : false
10201020 matrix :
10211021 include :
1022- - { sys: mingw64, env: x86_64 }
1023- - { sys: mingw32, env: i686 }
1022+ - sys : mingw32
1023+ env : i686
1024+ extra_install : " "
1025+ - sys : mingw64
1026+ env : x86_64
1027+ extra_install : |
1028+ mingw-w64-x86_64-python-numpy
1029+ mingw-w64-x86_64-python-scipy
1030+ mingw-w64-x86_64-eigen3
10241031 steps :
10251032 - uses : msys2/setup-msys2@v2
10261033 with :
@@ -1034,17 +1041,9 @@ jobs:
10341041 mingw-w64-${{matrix.env}}-python-pytest
10351042 mingw-w64-${{matrix.env}}-boost
10361043 mingw-w64-${{matrix.env}}-catch
1044+ ${{ matrix.extra_install }}
10371045
1038- - uses : msys2/setup-msys2@v2
1039- if : matrix.sys == 'mingw64'
1040- with :
1041- msystem : ${{matrix.sys}}
1042- install : >-
1043- mingw-w64-${{matrix.env}}-python-numpy
1044- mingw-w64-${{matrix.env}}-python-scipy
1045- mingw-w64-${{matrix.env}}-eigen3
1046-
1047- - uses : actions/checkout@v4
1046+ - uses : actions/checkout@v5
10481047
10491048 - name : Configure C++11
10501049 # LTO leads to many undefined reference like
@@ -1134,13 +1133,13 @@ jobs:
11341133 run : env
11351134
11361135 - name : Checkout
1137- uses : actions/checkout@v4
1136+ uses : actions/checkout@v5
11381137
11391138 - name : Set up Clang
11401139 uses : egor-tensin/setup-clang@v1
11411140
11421141 - name : Setup Python ${{ matrix.python }}
1143- uses : actions/setup-python@v5
1142+ uses : actions/setup-python@v6
11441143 with :
11451144 python-version : ${{ matrix.python }}
11461145
@@ -1189,91 +1188,3 @@ jobs:
11891188
11901189 - name : Clean directory
11911190 run : git clean -fdx
1192-
1193- macos_brew_install_llvm :
1194- if : github.event.pull_request.draft == false
1195- name : " macos-13 • brew install llvm"
1196- runs-on : macos-13
1197-
1198- env :
1199- # https://apple.stackexchange.com/questions/227026/how-to-install-recent-clang-with-homebrew
1200- LDFLAGS : ' -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib'
1201-
1202- steps :
1203- - name : Update PATH
1204- run : echo "/usr/local/opt/llvm/bin" >> $GITHUB_PATH
1205-
1206- - name : Show env
1207- run : env
1208-
1209- - name : Checkout
1210- uses : actions/checkout@v4
1211-
1212- - name : Show Clang++ version before brew install llvm
1213- run : clang++ --version
1214-
1215- - name : brew install llvm
1216- run : brew install llvm
1217-
1218- - name : Show Clang++ version after brew install llvm
1219- run : clang++ --version
1220-
1221- - name : Update CMake
1222- uses : jwlawson/actions-setup-cmake@v2.0
1223-
1224- - name : Run pip installs
1225- run : |
1226- python3 -m pip install --upgrade pip
1227- python3 -m pip install -r tests/requirements.txt
1228- python3 -m pip install numpy
1229- python3 -m pip install scipy
1230-
1231- - name : Show CMake version
1232- run : cmake --version
1233-
1234- - name : CMake Configure
1235- run : >
1236- cmake -S . -B .
1237- -DPYBIND11_WERROR=ON
1238- -DPYBIND11_SIMPLE_GIL_MANAGEMENT=OFF
1239- -DDOWNLOAD_CATCH=ON
1240- -DDOWNLOAD_EIGEN=ON
1241- -DCMAKE_CXX_COMPILER=clang++
1242- -DCMAKE_CXX_STANDARD=17
1243- -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
1244-
1245- - name : Build
1246- run : cmake --build . -j 2
1247-
1248- - name : Python tests
1249- run : cmake --build . --target pytest -j 2
1250-
1251- - name : C++ tests
1252- run : cmake --build . --target cpptest -j 2
1253-
1254- - name : Interface test
1255- run : cmake --build . --target test_cmake_build -j 2
1256-
1257- - name : Visibility test
1258- run : cmake --build . --target test_cross_module_rtti -j 2
1259-
1260- - name : CMake Configure - Exercise cmake -DPYBIND11_TEST_OVERRIDE
1261- run : >
1262- cmake -S . -B build_partial
1263- -DPYBIND11_WERROR=ON
1264- -DPYBIND11_SIMPLE_GIL_MANAGEMENT=OFF
1265- -DDOWNLOAD_CATCH=ON
1266- -DDOWNLOAD_EIGEN=ON
1267- -DCMAKE_CXX_COMPILER=clang++
1268- -DCMAKE_CXX_STANDARD=17
1269- -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
1270- "-DPYBIND11_TEST_OVERRIDE=test_call_policies.cpp;test_gil_scoped.cpp;test_thread.cpp"
1271-
1272- - name : Build - Exercise cmake -DPYBIND11_TEST_OVERRIDE
1273- run : cmake --build build_partial -j 2
1274-
1275- - name : Python tests - Exercise cmake -DPYBIND11_TEST_OVERRIDE
1276- run : cmake --build build_partial --target pytest -j 2
1277-
1278- - name : Clean directory
1279- run : git clean -fdx
0 commit comments