-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Dropping MSVC 2015 #3722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Dropping MSVC 2015 #3722
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
0321897
Changing `_MSC_VER` guard to `< 1910` (dropping MSVC 2015).
rwgk a0d14ea
Removing MSVC 2015 from ci.yml, and .appveyor.yml entirely.
rwgk 8c14771
Bringing back .appveyor.yml from master.
rwgk 8423316
appveyor Visual Studio 2017
rwgk 7a09e61
1st manual pass, builds & tests with unix_clang, before pre-commit.
rwgk dcf2ded
After clang-format (via pre-commit).
rwgk 637b27f
Manual pass looking for "2015", builds & tests with unix_clang, befor…
rwgk 47cdcf0
Backtracking for include/pybind11 changes in previous commit.
rwgk 8bd480a
common.h: is_template_base_of
rwgk e8334e2
Re-applying 4 changes from 2a26873727214c5f1e159cba98f5c625b908381a t…
rwgk f6480bd
`overload_cast = {};` only for MSVC 2017 and Clang 5
rwgk baa474c
Refining condition for using is_template_base_of workaround.
rwgk 4858b88
Undoing MSVC 2015 workaround in test_constants_and_functions.cpp
rwgk f072f4a
CentOS7: silence_unused_warnings
rwgk cff378c
Tweaks in response to reviews.
rwgk ceac490
Adding windows-2022 C++20
rwgk cb0d114
Trying another way of adding windows-2022 C++20
rwgk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -755,53 +755,6 @@ jobs: | |
- name: Python tests | ||
run: cmake --build build -t pytest | ||
|
||
win32-msvc2015: | ||
name: "🐍 ${{ matrix.python }} • MSVC 2015 • x64" | ||
runs-on: windows-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python: | ||
- 3.6 | ||
- 3.7 | ||
# todo: check/cpptest does not support 3.8+ yet | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup 🐍 ${{ matrix.python }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: Update CMake | ||
uses: jwlawson/[email protected] | ||
|
||
- name: Prepare MSVC | ||
uses: ilammy/[email protected] | ||
with: | ||
toolset: 14.0 | ||
|
||
- name: Prepare env | ||
run: | | ||
python -m pip install -r tests/requirements.txt | ||
|
||
# First build - C++11 mode and inplace | ||
- name: Configure | ||
run: > | ||
cmake -S . -B build | ||
-G "Visual Studio 14 2015" -A x64 | ||
-DPYBIND11_WERROR=ON | ||
-DDOWNLOAD_CATCH=ON | ||
-DDOWNLOAD_EIGEN=ON | ||
|
||
- name: Build C++14 | ||
run: cmake --build build -j 2 | ||
|
||
- name: Run all checks | ||
run: cmake --build build -t check | ||
|
||
|
||
win32-msvc2017: | ||
name: "🐍 ${{ matrix.python }} • MSVC 2017 • x64" | ||
runs-on: windows-2016 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.