Skip to content

Update pybind11

Update pybind11 #299

Workflow file for this run

name: Test C++
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CTEST_OUTPUT_ON_FAILURE: 1
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
jobs:
test_cpp:
name: build (${{ matrix.os }}, C++)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 4
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ matrix.os }}-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: Configure
run: cmake -Stest -Bbuild
- name: Build
run: cmake --build build --config Debug -j4
- name: Test
run: |
cd build
ctest --build-config Debug