Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
c664d557
Commit
c664d557
authored
Aug 01, 2020
by
Henry Schreiner
Committed by
Henry Schreiner
Aug 06, 2020
Browse files
ci: better output / more config
parent
ed6de125
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
43 deletions
+38
-43
.github/workflows/ci.yml
.github/workflows/ci.yml
+8
-0
.github/workflows/configure.yml
.github/workflows/configure.yml
+30
-43
No files found.
.github/workflows/ci.yml
View file @
c664d557
...
@@ -38,6 +38,14 @@ jobs:
...
@@ -38,6 +38,14 @@ jobs:
python
:
3.7
python
:
3.7
arch
:
x86
arch
:
x86
max-cxx-std
:
14
max-cxx-std
:
14
-
runs-on
:
windows-latest
python
:
3.6
arch
:
x64
max-cxx-std
:
17
-
runs-on
:
windows-latest
python
:
3.7
arch
:
x64
max-cxx-std
:
17
exclude
:
exclude
:
# Currently 32bit only, and we build 64bit
# Currently 32bit only, and we build 64bit
...
...
.github/workflows/configure.yml
View file @
c664d557
name
:
Config
ure
name
:
Config
on
:
on
:
workflow_dispatch
:
workflow_dispatch
:
...
@@ -14,63 +14,50 @@ jobs:
...
@@ -14,63 +14,50 @@ jobs:
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
python
:
runs-on
:
[
ubuntu-latest
,
macos-latest
]
-
2.7
arch
:
[
x64
]
-
3.8
cmake
:
[
3.7
,
3.18
]
name
:
CMake ${{ matrix.cmake }} Python ${{ matrix.python }} on ubuntu
include
:
runs-on
:
ubuntu-latest
-
runs-on
:
windows-latest
arch
:
x64
cmake
:
3.18
# TODO: 3.8
-
runs-on
:
windows-2016
arch
:
x86
cmake
:
3.11
-
runs-on
:
windows-2016
arch
:
x86
cmake
:
3.18
name
:
🐍 3.7 • CMake ${{ matrix.cmake }} • ${{ matrix.runs-on }}
runs-on
:
${{ matrix.runs-on }}
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
name
:
Setup Python
${{ matrix.python }}
-
name
:
Setup Python
3.7
uses
:
actions/setup-python@v2
uses
:
actions/setup-python@v2
with
:
with
:
python-version
:
${{ matrix.python }}
python-version
:
3.7
architecture
:
${{ matrix.arch }}
-
name
:
Prepare env
-
name
:
Prepare env
run
:
python -m pip install -r tests/requirements.txt
run
:
python -m pip install -r tests/requirements.txt
-
name
:
Make build directories
-
name
:
Setup CMake ${{ matrix.cmake }}
run
:
|
mkdir build3.7
mkdir build3.11
mkdir build3.18
-
name
:
Setup CMake
3.7
uses
:
jwlawson/actions-setup-cmake@v1.3
uses
:
jwlawson/actions-setup-cmake@v1.3
with
:
with
:
cmake-version
:
3.7
cmake-version
:
${{ matrix.cmake }}
-
name
:
Configure
3.7
working-directory
:
build3.7
run
:
>
cmake ..
-DPYBIND11_WERROR=ON
-DDOWNLOAD_CATCH=ON
-DPYTHON_EXECUTABLE=$(python -c "import sys; print(sys.executable)")
-
name
:
Setup CMake
3.11
-
name
:
Make build directories
uses
:
jwlawson/actions-setup-cmake@v1.3
run
:
mkdir "build dir"
with
:
cmake-version
:
3.11
-
name
:
Configure
3.11
working-directory
:
build3.11
run
:
>
cmake ..
-DPYBIND11_WERROR=ON
-DDOWNLOAD_CATCH=ON
-DPYTHON_EXECUTABLE=$(python -c "import sys; print(sys.executable)")
-
name
:
Setup CMake
3.18
uses
:
jwlawson/actions-setup-cmake@v1.3
with
:
cmake-version
:
3.18
-
name
:
Configure
3.18
-
name
:
Configure
working-directory
:
build3.18
working-directory
:
build dir
shell
:
bash
run
:
>
run
:
>
cmake ..
cmake ..
-DPYBIND11_WERROR=ON
-DPYBIND11_WERROR=ON
...
...
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