mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-23 05:35:13 +00:00
Tracking ci.yml changes from master.
This commit is contained in:
parent
aa209cc90f
commit
d6c174cff4
22
.github/workflows/ci_sh_def.yml
vendored
22
.github/workflows/ci_sh_def.yml
vendored
@ -580,38 +580,38 @@ jobs:
|
|||||||
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
||||||
cmake --build build-11 --target test_cmake_build
|
cmake --build build-11 --target test_cmake_build
|
||||||
|
|
||||||
- name: Configure C++14
|
- name: Configure C++17
|
||||||
run: |
|
run: |
|
||||||
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
||||||
cmake -S . -B build-14 \
|
cmake -S . -B build-17 \
|
||||||
-DPYBIND11_WERROR=ON \
|
-DPYBIND11_WERROR=ON \
|
||||||
-DDOWNLOAD_CATCH=ON \
|
-DDOWNLOAD_CATCH=ON \
|
||||||
-DDOWNLOAD_EIGEN=OFF \
|
-DDOWNLOAD_EIGEN=OFF \
|
||||||
-DCMAKE_CXX_STANDARD=14 \
|
-DCMAKE_CXX_STANDARD=17 \
|
||||||
-DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT" \
|
-DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT" \
|
||||||
-DCMAKE_CXX_COMPILER=$(which icpc) \
|
-DCMAKE_CXX_COMPILER=$(which icpc) \
|
||||||
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
|
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
|
||||||
|
|
||||||
- name: Build C++14
|
- name: Build C++17
|
||||||
run: |
|
run: |
|
||||||
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
||||||
cmake --build build-14 -j 2 -v
|
cmake --build build-17 -j 2 -v
|
||||||
|
|
||||||
- name: Python tests C++14
|
- name: Python tests C++17
|
||||||
run: |
|
run: |
|
||||||
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
||||||
sudo service apport stop
|
sudo service apport stop
|
||||||
cmake --build build-14 --target check
|
cmake --build build-17 --target check
|
||||||
|
|
||||||
- name: C++ tests C++14
|
- name: C++ tests C++17
|
||||||
run: |
|
run: |
|
||||||
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
||||||
cmake --build build-14 --target cpptest
|
cmake --build build-17 --target cpptest
|
||||||
|
|
||||||
- name: Interface test C++14
|
- name: Interface test C++17
|
||||||
run: |
|
run: |
|
||||||
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
set +e; source /opt/intel/oneapi/setvars.sh; set -e
|
||||||
cmake --build build-14 --target test_cmake_build
|
cmake --build build-17 --target test_cmake_build
|
||||||
|
|
||||||
|
|
||||||
# Testing on CentOS (manylinux uses a centos base, and this is an easy way
|
# Testing on CentOS (manylinux uses a centos base, and this is an easy way
|
||||||
|
6
.github/workflows/ci_sh_def.yml.patch
vendored
6
.github/workflows/ci_sh_def.yml.patch
vendored
@ -1,5 +1,5 @@
|
|||||||
--- ci.yml 2021-12-29 13:23:17.380542309 -0800
|
--- ci.yml 2022-01-11 17:48:37.159294931 -0800
|
||||||
+++ ci_sh_def.yml 2021-12-29 13:25:04.832676256 -0800
|
+++ ci_sh_def.yml 2022-01-11 17:51:44.916147343 -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:
|
||||||
@ -105,7 +105,7 @@
|
|||||||
@@ -568,6 +588,7 @@
|
@@ -568,6 +588,7 @@
|
||||||
-DDOWNLOAD_CATCH=ON \
|
-DDOWNLOAD_CATCH=ON \
|
||||||
-DDOWNLOAD_EIGEN=OFF \
|
-DDOWNLOAD_EIGEN=OFF \
|
||||||
-DCMAKE_CXX_STANDARD=14 \
|
-DCMAKE_CXX_STANDARD=17 \
|
||||||
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT" \
|
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT" \
|
||||||
-DCMAKE_CXX_COMPILER=$(which icpc) \
|
-DCMAKE_CXX_COMPILER=$(which icpc) \
|
||||||
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
|
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
|
||||||
|
Loading…
Reference in New Issue
Block a user