mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-27 15:42:01 +00:00
Merge branch 'pybind:master' into master
This commit is contained in:
commit
fafcb825c8
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -584,19 +584,25 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
centos:
|
container:
|
||||||
- centos7 # GCC 4.8
|
- "centos:7" # GCC 4.8
|
||||||
- stream8
|
- "almalinux:8"
|
||||||
|
- "almalinux:9"
|
||||||
|
|
||||||
name: "🐍 3 • CentOS ${{ matrix.centos }} • x64"
|
name: "🐍 3 • ${{ matrix.container }} • x64"
|
||||||
container: "quay.io/centos/centos:${{ matrix.centos }}"
|
container: "${{ matrix.container }}"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Add Python 3
|
- name: Add Python 3 (RHEL 7)
|
||||||
|
if: matrix.container == 'centos:7'
|
||||||
run: yum update -y && yum install -y python3-devel gcc-c++ make git
|
run: yum update -y && yum install -y python3-devel gcc-c++ make git
|
||||||
|
|
||||||
|
- name: Add Python 3 (RHEL 8+)
|
||||||
|
if: matrix.container != 'centos:7'
|
||||||
|
run: dnf update -y && dnf install -y python3-devel gcc-c++ make git
|
||||||
|
|
||||||
- name: Update pip
|
- name: Update pip
|
||||||
run: python3 -m pip install --upgrade pip
|
run: python3 -m pip install --upgrade pip
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ repos:
|
|||||||
|
|
||||||
# PyLint has native support - not always usable, but works for us
|
# PyLint has native support - not always usable, but works for us
|
||||||
- repo: https://github.com/PyCQA/pylint
|
- repo: https://github.com/PyCQA/pylint
|
||||||
rev: "v2.14.1"
|
rev: "v2.14.3"
|
||||||
hooks:
|
hooks:
|
||||||
- id: pylint
|
- id: pylint
|
||||||
files: ^pybind11
|
files: ^pybind11
|
||||||
@ -164,7 +164,7 @@ repos:
|
|||||||
|
|
||||||
# Clang format the codebase automatically
|
# Clang format the codebase automatically
|
||||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||||
rev: "v14.0.4-1"
|
rev: "v14.0.5"
|
||||||
hooks:
|
hooks:
|
||||||
- id: clang-format
|
- id: clang-format
|
||||||
types_or: [c++, c, cuda]
|
types_or: [c++, c, cuda]
|
||||||
|
Loading…
Reference in New Issue
Block a user