Skip to content

Commit b2f0b09

Browse files
committed
Tracking ci.yml changes from master.
1 parent ece3c55 commit b2f0b09

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.github/workflows/ci_sh_def.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -930,8 +930,7 @@ jobs:
930930
- { sys: mingw64, env: x86_64 }
931931
- { sys: mingw32, env: i686 }
932932
steps:
933-
# Force version because of https://github.com/msys2/setup-msys2/issues/167
934-
- uses: msys2/[email protected]
933+
- uses: msys2/setup-msys2@v2
935934
with:
936935
msystem: ${{matrix.sys}}
937936
install: >-
@@ -961,10 +960,10 @@ jobs:
961960
run: cmake --build build --target pytest -j 2
962961

963962
- name: C++11 tests
964-
run: cmake --build build --target cpptest -j 2
963+
run: PYTHONHOME=/${{matrix.sys}} PYTHONPATH=/${{matrix.sys}} cmake --build build --target cpptest -j 2
965964

966965
- name: Interface test C++11
967-
run: cmake --build build --target test_cmake_build
966+
run: PYTHONHOME=/${{matrix.sys}} PYTHONPATH=/${{matrix.sys}} cmake --build build --target test_cmake_build
968967

969968
- name: Clean directory
970969
run: git clean -fdx
@@ -979,10 +978,10 @@ jobs:
979978
run: cmake --build build2 --target pytest -j 2
980979

981980
- name: C++14 tests
982-
run: cmake --build build2 --target cpptest -j 2
981+
run: PYTHONHOME=/${{matrix.sys}} PYTHONPATH=/${{matrix.sys}} cmake --build build2 --target cpptest -j 2
983982

984983
- name: Interface test C++14
985-
run: cmake --build build2 --target test_cmake_build
984+
run: PYTHONHOME=/${{matrix.sys}} PYTHONPATH=/${{matrix.sys}} cmake --build build2 --target test_cmake_build
986985

987986
- name: Clean directory
988987
run: git clean -fdx
@@ -997,7 +996,7 @@ jobs:
997996
run: cmake --build build3 --target pytest -j 2
998997

999998
- name: C++17 tests
1000-
run: cmake --build build3 --target cpptest -j 2
999+
run: PYTHONHOME=/${{matrix.sys}} PYTHONPATH=/${{matrix.sys}} cmake --build build3 --target cpptest -j 2
10011000

10021001
- name: Interface test C++17
1003-
run: cmake --build build3 --target test_cmake_build
1002+
run: PYTHONHOME=/${{matrix.sys}} PYTHONPATH=/${{matrix.sys}} cmake --build build3 --target test_cmake_build

.github/workflows/ci_sh_def.yml.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--- ci.yml 2022-01-25 16:47:53.830999786 -0800
2-
+++ ci_sh_def.yml 2022-01-25 16:48:45.714550945 -0800
1+
--- ci.yml 2022-01-26 09:58:21.687199720 -0800
2+
+++ ci_sh_def.yml 2022-01-26 09:58:52.261291935 -0800
33
@@ -1,4 +1,16 @@
44
-name: CI
55
+# PLEASE KEEP THIS GROUP OF FILES IN SYNC AT ALL TIMES:
@@ -156,7 +156,7 @@
156156

157157
steps:
158158
- uses: actions/checkout@v2
159-
@@ -927,7 +952,7 @@
159+
@@ -926,7 +951,7 @@
160160
- name: Configure C++11
161161
# LTO leads to many undefined reference like
162162
# `pybind11::detail::function_call::function_call(pybind11::detail::function_call&&)
@@ -165,7 +165,7 @@
165165

166166
- name: Build C++11
167167
run: cmake --build build -j 2
168-
@@ -945,7 +970,7 @@
168+
@@ -944,7 +969,7 @@
169169
run: git clean -fdx
170170

171171
- name: Configure C++14
@@ -174,7 +174,7 @@
174174

175175
- name: Build C++14
176176
run: cmake --build build2 -j 2
177-
@@ -963,7 +988,7 @@
177+
@@ -962,7 +987,7 @@
178178
run: git clean -fdx
179179

180180
- name: Configure C++17

0 commit comments

Comments
 (0)