mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-19 09:25:51 +00:00
Tracking ci.yml changes from master.
This commit is contained in:
parent
8a7643f471
commit
47720eebd9
9
.github/workflows/ci_sh_def.yml
vendored
9
.github/workflows/ci_sh_def.yml
vendored
@ -728,14 +728,11 @@ jobs:
|
|||||||
- name: Install Doxygen
|
- name: Install Doxygen
|
||||||
run: sudo apt-get install -y doxygen librsvg2-bin # Changed to rsvg-convert in 20.04
|
run: sudo apt-get install -y doxygen librsvg2-bin # Changed to rsvg-convert in 20.04
|
||||||
|
|
||||||
- name: Install docs & setup requirements
|
|
||||||
run: python3 -m pip install -r docs/requirements.txt
|
|
||||||
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: python3 -m sphinx -W -b html docs docs/.build
|
run: pipx run nox -s docs
|
||||||
|
|
||||||
- name: Make SDist
|
- name: Make SDist
|
||||||
run: python3 setup.py sdist
|
run: pipx run nox -s build -- --sdist
|
||||||
|
|
||||||
- run: git status --ignored
|
- run: git status --ignored
|
||||||
|
|
||||||
@ -747,7 +744,7 @@ jobs:
|
|||||||
- name: Compare Dists (headers only)
|
- name: Compare Dists (headers only)
|
||||||
working-directory: include
|
working-directory: include
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install --user -U ../dist/*
|
python3 -m pip install --user -U ../dist/*.tar.gz
|
||||||
installed=$(python3 -c "import pybind11; print(pybind11.get_include() + '/pybind11')")
|
installed=$(python3 -c "import pybind11; print(pybind11.get_include() + '/pybind11')")
|
||||||
diff -rq $installed ./pybind11
|
diff -rq $installed ./pybind11
|
||||||
|
|
||||||
|
16
.github/workflows/ci_sh_def.yml.patch
vendored
16
.github/workflows/ci_sh_def.yml.patch
vendored
@ -1,5 +1,5 @@
|
|||||||
--- ci.yml 2021-10-27 10:49:16.082259700 -0700
|
--- ci.yml 2021-11-15 14:43:09.035251017 -0800
|
||||||
+++ ci_sh_def.yml 2021-10-27 10:51:56.216396775 -0700
|
+++ ci_sh_def.yml 2021-11-15 15:03:40.563973496 -0800
|
||||||
@@ -1,4 +1,16 @@
|
@@ -1,4 +1,16 @@
|
||||||
-name: CI
|
-name: CI
|
||||||
+# PLEASE KEEP THIS GROUP OF FILES IN SYNC AT ALL TIMES:
|
+# PLEASE KEEP THIS GROUP OF FILES IN SYNC AT ALL TIMES:
|
||||||
@ -126,7 +126,7 @@
|
|||||||
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
|
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
|
||||||
working-directory: /build-tests
|
working-directory: /build-tests
|
||||||
|
|
||||||
@@ -778,6 +801,7 @@
|
@@ -775,6 +798,7 @@
|
||||||
-DPYBIND11_WERROR=ON
|
-DPYBIND11_WERROR=ON
|
||||||
-DDOWNLOAD_CATCH=ON
|
-DDOWNLOAD_CATCH=ON
|
||||||
-DDOWNLOAD_EIGEN=ON
|
-DDOWNLOAD_EIGEN=ON
|
||||||
@ -134,7 +134,7 @@
|
|||||||
${{ matrix.args }}
|
${{ matrix.args }}
|
||||||
- name: Build C++11
|
- name: Build C++11
|
||||||
run: cmake --build build -j 2
|
run: cmake --build build -j 2
|
||||||
@@ -825,6 +849,7 @@
|
@@ -822,6 +846,7 @@
|
||||||
-DPYBIND11_WERROR=ON
|
-DPYBIND11_WERROR=ON
|
||||||
-DDOWNLOAD_CATCH=ON
|
-DDOWNLOAD_CATCH=ON
|
||||||
-DDOWNLOAD_EIGEN=ON
|
-DDOWNLOAD_EIGEN=ON
|
||||||
@ -142,7 +142,7 @@
|
|||||||
|
|
||||||
- name: Build C++14
|
- name: Build C++14
|
||||||
run: cmake --build build -j 2
|
run: cmake --build build -j 2
|
||||||
@@ -850,11 +875,11 @@
|
@@ -847,11 +872,11 @@
|
||||||
- python: 2.7
|
- python: 2.7
|
||||||
std: 17
|
std: 17
|
||||||
args: >
|
args: >
|
||||||
@ -156,7 +156,7 @@
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -923,7 +948,7 @@
|
@@ -920,7 +945,7 @@
|
||||||
- name: Configure C++11
|
- name: Configure C++11
|
||||||
# LTO leads to many undefined reference like
|
# LTO leads to many undefined reference like
|
||||||
# `pybind11::detail::function_call::function_call(pybind11::detail::function_call&&)
|
# `pybind11::detail::function_call::function_call(pybind11::detail::function_call&&)
|
||||||
@ -165,7 +165,7 @@
|
|||||||
|
|
||||||
- name: Build C++11
|
- name: Build C++11
|
||||||
run: cmake --build build -j 2
|
run: cmake --build build -j 2
|
||||||
@@ -941,7 +966,7 @@
|
@@ -938,7 +963,7 @@
|
||||||
run: git clean -fdx
|
run: git clean -fdx
|
||||||
|
|
||||||
- name: Configure C++14
|
- name: Configure C++14
|
||||||
@ -174,7 +174,7 @@
|
|||||||
|
|
||||||
- name: Build C++14
|
- name: Build C++14
|
||||||
run: cmake --build build2 -j 2
|
run: cmake --build build2 -j 2
|
||||||
@@ -959,7 +984,7 @@
|
@@ -956,7 +981,7 @@
|
||||||
run: git clean -fdx
|
run: git clean -fdx
|
||||||
|
|
||||||
- name: Configure C++17
|
- name: Configure C++17
|
||||||
|
Loading…
Reference in New Issue
Block a user