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
1491c94c
Unverified
Commit
1491c94c
authored
Jul 28, 2020
by
Henry Schreiner
Committed by
GitHub
Jul 28, 2020
Browse files
ci: cmake Configure test (#2327)
parent
8e40e389
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
81 additions
and
0 deletions
+81
-0
.github/workflows/configure.yml
.github/workflows/configure.yml
+81
-0
No files found.
.github/workflows/configure.yml
0 → 100644
View file @
1491c94c
name
:
Configure
on
:
workflow_dispatch
:
pull_request
:
push
:
branches
:
-
master
-
stable
-
v*
jobs
:
cmake
:
strategy
:
fail-fast
:
false
matrix
:
python
:
-
2.7
-
3.8
name
:
CMake ${{ matrix.cmake }} Python ${{ matrix.python }} on ubuntu
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Setup Python ${{ matrix.python }}
uses
:
actions/setup-python@v2
with
:
python-version
:
${{ matrix.python }}
-
name
:
Prepare env
run
:
python -m pip install -r tests/requirements.txt
-
name
:
Make build directories
run
:
|
mkdir build2.8
mkdir build3.7
mkdir build3.18
-
name
:
Setup CMake
2.8
uses
:
jwlawson/actions-setup-cmake@v1.3
with
:
cmake-version
:
2.8
-
name
:
Configure
2.8
working-directory
:
build2.8
run
:
>
cmake --version &&
cmake ..
-DPYBIND11_WERROR=ON
-DDOWNLOAD_CATCH=ON
-DPYTHON_EXECUTABLE=$(python -c "import sys; print(sys.executable)")
-
name
:
Setup CMake
3.7
uses
:
jwlawson/actions-setup-cmake@v1.3
with
:
cmake-version
:
3.7
-
name
:
Configure
3.7
working-directory
:
build3.7
run
:
>
cmake --version &&
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
working-directory
:
build3.18
run
:
>
cmake --version &&
cmake ..
-DPYBIND11_WERROR=ON
-DDOWNLOAD_CATCH=ON
-DPYTHON_EXECUTABLE=$(python -c "import sys; print(sys.executable)")
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