Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
c664d557
Commit
c664d557
authored
Aug 01, 2020
by
Henry Schreiner
Committed by
Henry Schreiner
Aug 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: better output / more config
parent
ed6de125
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
43 deletions
+38
-43
.github/workflows/ci.yml
+8
-0
.github/workflows/configure.yml
+30
-43
No files found.
.github/workflows/ci.yml
View file @
c664d557
...
...
@@ -38,6 +38,14 @@ jobs:
python
:
3.7
arch
:
x86
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
:
# Currently 32bit only, and we build 64bit
...
...
.github/workflows/configure.yml
View file @
c664d557
name
:
Config
ure
name
:
Config
on
:
workflow_dispatch
:
...
...
@@ -14,63 +14,50 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
python
:
-
2.7
-
3.8
runs-on
:
[
ubuntu-latest
,
macos-latest
]
arch
:
[
x64
]
cmake
:
[
3.7
,
3.18
]
name
:
CMake ${{ matrix.cmake }} Python ${{ matrix.python }} on ubuntu
runs-on
:
ubuntu-latest
include
:
-
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
:
-
uses
:
actions/checkout@v2
-
name
:
Setup Python
${{ matrix.python }}
-
name
:
Setup Python
3.7
uses
:
actions/setup-python@v2
with
:
python-version
:
${{ matrix.python }}
python-version
:
3.7
architecture
:
${{ matrix.arch }}
-
name
:
Prepare env
run
:
python -m pip install -r tests/requirements.txt
-
name
:
Make build directories
run
:
|
mkdir build3.7
mkdir build3.11
mkdir build3.18
-
name
:
Setup CMake 3.7
-
name
:
Setup CMake ${{ matrix.cmake }}
uses
:
jwlawson/actions-setup-cmake@v1.3
with
:
cmake-version
:
3.7
-
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)")
cmake-version
:
${{ matrix.cmake }}
-
name
:
Setup CMake 3.11
uses
:
jwlawson/actions-setup-cmake@v1.3
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
:
Make build directories
run
:
mkdir "build dir"
-
name
:
Configure 3.18
working-directory
:
build3.18
-
name
:
Configure
working-directory
:
build dir
shell
:
bash
run
:
>
cmake ..
-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