Commit c664d557 by Henry Schreiner Committed by Henry Schreiner

ci: better output / more config

parent ed6de125
...@@ -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
......
name: Configure 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment