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
a6324868
Commit
a6324868
authored
Jul 26, 2020
by
Henry Schreiner
Committed by
Henry Schreiner
Jul 27, 2020
Browse files
ci: Windows 2016 test
parent
88b3e5c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
16 deletions
+35
-16
.github/workflows/ci.yml
.github/workflows/ci.yml
+35
-16
No files found.
.github/workflows/ci.yml
View file @
a6324868
...
@@ -15,6 +15,8 @@ jobs:
...
@@ -15,6 +15,8 @@ jobs:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
runs-on
:
[
ubuntu-latest
,
windows-latest
,
macos-latest
]
runs-on
:
[
ubuntu-latest
,
windows-latest
,
macos-latest
]
arch
:
[
x64
]
max-cxx-std
:
[
17
]
python
:
python
:
-
2.7
-
2.7
-
3.5
-
3.5
...
@@ -26,29 +28,45 @@ jobs:
...
@@ -26,29 +28,45 @@ jobs:
include
:
include
:
-
runs-on
:
ubuntu-latest
-
runs-on
:
ubuntu-latest
python
:
3.6
python
:
3.6
arch
:
x64
max-cxx-std
:
17
-
runs-on
:
macos-latest
-
runs-on
:
macos-latest
python
:
3.7
python
:
3.7
arch
:
x64
max-cxx-std
:
17
-
runs-on
:
windows-2016
-
runs-on
:
windows-2016
python
:
3.7
python
:
3.7
arch
:
x86
max-cxx-std
:
14
exclude
:
exclude
:
# Currently 32bit only, and we build 64bit
# Currently 32bit only, and we build 64bit
-
runs-on
:
windows-latest
-
runs-on
:
windows-latest
python
:
pypy2
python
:
pypy2
arch
:
x64
max-cxx-std
:
17
-
runs-on
:
windows-latest
-
runs-on
:
windows-latest
python
:
pypy3
python
:
pypy3
arch
:
x64
max-cxx-std
:
17
# Currently can't build due to warning, fixed in CPython > 3.9b5
# Currently can't build due to warning, fixed in CPython > 3.9b5
-
runs-on
:
macos-latest
-
runs-on
:
macos-latest
python
:
3.9-dev
python
:
3.9-dev
arch
:
x64
max-cxx-std
:
17
# Currently broken on embed_test
# Currently broken on embed_test
-
runs-on
:
windows-latest
-
runs-on
:
windows-latest
python
:
3.8
python
:
3.8
arch
:
x64
max-cxx-std
:
17
-
runs-on
:
windows-latest
-
runs-on
:
windows-latest
python
:
3.9-dev
python
:
3.9-dev
arch
:
x64
max-cxx-std
:
17
name
:
"
🐍
${{
matrix.python
}}
•
${{
matrix.runs-on
}}"
name
:
"
🐍
${{
matrix.python
}}
•
${{
matrix.runs-on
}}
•
${{
matrix.arch
}}"
runs-on
:
${{ matrix.runs-on }}
runs-on
:
${{ matrix.runs-on }}
steps
:
steps
:
...
@@ -58,6 +76,7 @@ jobs:
...
@@ -58,6 +76,7 @@ jobs:
uses
:
actions/setup-python@v2
uses
:
actions/setup-python@v2
with
:
with
:
python-version
:
${{ matrix.python }}
python-version
:
${{ matrix.python }}
architecture
:
${{ matrix.arch }}
-
name
:
Cache wheels
-
name
:
Cache wheels
if
:
startsWith(runner.os, 'macOS')
if
:
startsWith(runner.os, 'macOS')
...
@@ -98,27 +117,27 @@ jobs:
...
@@ -98,27 +117,27 @@ jobs:
-
name
:
Interface test C++11
-
name
:
Interface test C++11
run
:
cmake --build build --target test_cmake_build
run
:
cmake --build build --target test_cmake_build
-
name
:
Configure C++
17
-
name
:
Configure C++
${{ matrix.max-cxx-std }}
shell
:
bash
shell
:
bash
run
:
>
run
:
>
cmake -S . -B build
17
cmake -S . -B build
2
-DPYBIND17_WERROR=ON
-DPYBIND17_WERROR=ON
-DDOWNLOAD_CATCH=ON
-DDOWNLOAD_CATCH=ON
-DDOWNLOAD_EIGEN=ON
-DDOWNLOAD_EIGEN=ON
-DCMAKE_CXX_STANDARD=
17
-DCMAKE_CXX_STANDARD=
${{ matrix.max-cxx-std }}
-DPYTHON_EXECUTABLE=$(python -c "import sys; print(sys.executable)")
-DPYTHON_EXECUTABLE=$(python -c "import sys; print(sys.executable)")
-
name
:
Build C++
17
-
name
:
Build C++
${{ matrix.max-cxx-std }}
run
:
cmake --build build
17
-j
2
run
:
cmake --build build
2
-j
2
-
name
:
Python tests C++
17
-
name
:
Python tests C++
${{ matrix.max-cxx-std }}
run
:
cmake --build build
17
--target pytest
run
:
cmake --build build
2
--target pytest
-
name
:
C++
17
tests
-
name
:
C++
${{ matrix.max-cxx-std }}
tests
run
:
cmake --build build
17
--target cpptest
run
:
cmake --build build
2
--target cpptest
-
name
:
Interface test C++
17
-
name
:
Interface test C++
${{ matrix.max-cxx-std }}
run
:
cmake --build build
17
--target test_cmake_build
run
:
cmake --build build
2
--target test_cmake_build
clang
:
clang
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
...
@@ -134,7 +153,7 @@ jobs:
...
@@ -134,7 +153,7 @@ jobs:
-
9
-
9
-
dev
-
dev
name
:
"
🐍
3
•
Clang
${{
matrix.clang
}}"
name
:
"
🐍
3
•
Clang
${{
matrix.clang
}}
•
x64
"
container
:
"
silkeh/clang:${{
matrix.clang
}}"
container
:
"
silkeh/clang:${{
matrix.clang
}}"
steps
:
steps
:
...
@@ -173,7 +192,7 @@ jobs:
...
@@ -173,7 +192,7 @@ jobs:
-
7
-
7
-
latest
-
latest
name
:
"
🐍
3
•
GCC
${{
matrix.gcc
}}"
name
:
"
🐍
3
•
GCC
${{
matrix.gcc
}}
•
x64
"
container
:
"
gcc:${{
matrix.gcc
}}"
container
:
"
gcc:${{
matrix.gcc
}}"
steps
:
steps
:
...
@@ -221,7 +240,7 @@ jobs:
...
@@ -221,7 +240,7 @@ jobs:
-
7
# GCC 4.8
-
7
# GCC 4.8
-
8
-
8
name
:
"
🐍
3
•
CentOS
${{
matrix.centos
}}"
name
:
"
🐍
3
•
CentOS
${{
matrix.centos
}}
•
x64
"
container
:
"
centos:${{
matrix.centos
}}"
container
:
"
centos:${{
matrix.centos
}}"
steps
:
steps
:
...
@@ -260,7 +279,7 @@ jobs:
...
@@ -260,7 +279,7 @@ jobs:
run
:
cmake --build build --target test_cmake_build
run
:
cmake --build build --target test_cmake_build
install-classic
:
install-classic
:
name
:
"
🐍
3.5
•
32-bit
Linux
•
Install"
name
:
"
🐍
3.5
•
Debian
•
x86
•
Install"
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
container
:
i386/debian:stretch
container
:
i386/debian:stretch
...
...
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