Skip to content

pybind11: bump to v2.12.0 #28

pybind11: bump to v2.12.0

pybind11: bump to v2.12.0 #28

Workflow file for this run

name: Windows
on:
push:
branches: [ master, test ]
pull_request:
branches: [ master, test ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
BUILD_TYPE: [Debug, Release]
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install cmake
uses: lukka/get-cmake@latest
- name: Prepare vcpkg
uses: lukka/run-vcpkg@v10
id: runvcpkg
with:
vcpkgDirectory: ${{ runner.workspace }}/vcpkg/
vcpkgTriplet: x64-windows
vcpkgGitCommitId: 06b5f4a769d848d1a20fa0acd556019728b56273
vcpkgJsonGlob: 'vcpkg.json'
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DVCPKG_TARGET_TRIPLET=x64-windows -DCMAKE_TOOLCHAIN_FILE=${{ runner.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_CXX_STANDARD=17 -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{matrix.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{matrix.BUILD_TYPE}} --rerun-failed --output-on-failure