32
32
matrix :
33
33
runs-on : [ubuntu-20.04, windows-2022, macos-13]
34
34
python :
35
- - ' 3.6 '
35
+ - ' 3.8 '
36
36
- ' 3.9'
37
37
- ' 3.12'
38
38
- ' 3.13'
@@ -48,16 +48,17 @@ jobs:
48
48
include :
49
49
# Just add a key
50
50
- runs-on : ubuntu-20.04
51
- python : ' 3.6 '
51
+ python : ' 3.8 '
52
52
args : >
53
53
-DPYBIND11_FINDPYTHON=ON
54
54
-DCMAKE_CXX_FLAGS="-D_=1"
55
+ exercise_D_ : 1
55
56
- runs-on : ubuntu-20.04
56
57
python : ' pypy-3.8'
57
58
args : >
58
59
-DPYBIND11_FINDPYTHON=ON
59
60
- runs-on : windows-2019
60
- python : ' 3.6 '
61
+ python : ' 3.8 '
61
62
args : >
62
63
-DPYBIND11_FINDPYTHON=ON
63
64
# Inject a couple Windows 2019 runs
82
83
83
84
- name : Setup Boost (Linux)
84
85
# Can't use boost + define _
85
- if : runner.os == 'Linux' && matrix.python != '3.6'
86
+ if : runner.os == 'Linux' && matrix.exercise_D_ != 1
86
87
run : sudo apt-get install libboost-dev
87
88
88
89
- name : Setup Boost (macOS)
@@ -655,15 +656,13 @@ jobs:
655
656
cmake --build build-17 --target test_cmake_build
656
657
657
658
658
- # Testing on CentOS (manylinux uses a centos base, and this is an easy way
659
- # to get GCC 4.8, which is the manylinux1 compiler).
659
+ # Testing on CentOS (manylinux uses a centos base).
660
660
centos :
661
661
runs-on : ubuntu-latest
662
662
strategy :
663
663
fail-fast : false
664
664
matrix :
665
665
container :
666
- - " centos:7" # GCC 4.8
667
666
- " almalinux:8"
668
667
- " almalinux:9"
669
668
@@ -673,18 +672,13 @@ jobs:
673
672
steps :
674
673
- name : Latest actions/checkout
675
674
uses : actions/checkout@v4
676
- if : matrix.container != 'centos:7'
677
-
678
- - name : Pin actions/checkout as required for centos:7
679
- uses : actions/checkout@v3
680
- if : matrix.container == 'centos:7'
681
675
682
- - name : Add Python 3 (RHEL 7)
683
- if : matrix.container == 'centos:7 '
684
- run : yum update -y && yum install -y python3 -devel gcc-c++ make git
676
+ - name : Add Python 3.8
677
+ if : matrix.container == 'almalinux:8 '
678
+ run : dnf update -y && dnf install -y python38 -devel gcc-c++ make git
685
679
686
- - name : Add Python 3 (RHEL 8+ )
687
- if : matrix.container != 'centos:7 '
680
+ - name : Add Python 3 (default )
681
+ if : matrix.container != 'almalinux:8 '
688
682
run : dnf update -y && dnf install -y python3-devel gcc-c++ make git
689
683
690
684
- name : Update pip
@@ -807,7 +801,6 @@ jobs:
807
801
fail-fast : false
808
802
matrix :
809
803
python :
810
- - ' 3.6'
811
804
- ' 3.7'
812
805
- ' 3.8'
813
806
- ' 3.9'
0 commit comments