Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
d75b3536
Unverified
Commit
d75b3536
authored
Mar 10, 2022
by
Axel Huebl
Committed by
GitHub
Mar 10, 2022
Browse files
CI: MSVC Debug Build (#3784)
parent
2dd52544
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
.github/workflows/ci.yml
.github/workflows/ci.yml
+54
-0
No files found.
.github/workflows/ci.yml
View file @
d75b3536
...
@@ -755,6 +755,60 @@ jobs:
...
@@ -755,6 +755,60 @@ jobs:
-
name
:
Python tests
-
name
:
Python tests
run
:
cmake --build build -t pytest
run
:
cmake --build build -t pytest
win32-debug
:
strategy
:
fail-fast
:
false
matrix
:
python
:
-
3.8
-
3.9
include
:
-
python
:
3.9
args
:
-DCMAKE_CXX_STANDARD=20
-
python
:
3.8
args
:
-DCMAKE_CXX_STANDARD=17
name
:
"
🐍
${{
matrix.python
}}
•
MSVC
2019
(Debug)
•
x86
${{
matrix.args
}}"
runs-on
:
windows-2019
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Setup Python ${{ matrix.python }}
uses
:
actions/setup-python@v2
with
:
python-version
:
${{ matrix.python }}
architecture
:
x86
-
name
:
Update CMake
uses
:
jwlawson/actions-setup-cmake@v1.12
-
name
:
Prepare MSVC
uses
:
ilammy/msvc-dev-cmd@v1.10.0
with
:
arch
:
x86
-
name
:
Prepare env
run
:
|
python -m pip install -r tests/requirements.txt
# First build - C++11 mode and inplace
-
name
:
Configure ${{ matrix.args }}
run
:
>
cmake -S . -B build
-G "Visual Studio 16 2019" -A Win32
-DCMAKE_BUILD_TYPE=Debug
-DPYBIND11_WERROR=ON
-DDOWNLOAD_CATCH=ON
-DDOWNLOAD_EIGEN=ON
${{ matrix.args }}
-
name
:
Build C++11
run
:
cmake --build build --config Debug -j
2
-
name
:
Python tests
run
:
cmake --build build --config Debug -t pytest
win32-msvc2017
:
win32-msvc2017
:
name
:
"
🐍
${{
matrix.python
}}
•
MSVC
2017
•
x64"
name
:
"
🐍
${{
matrix.python
}}
•
MSVC
2017
•
x64"
runs-on
:
windows-2016
runs-on
:
windows-2016
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment