Skip to content

Nanobind

Nanobind #126

Workflow file for this run

name: Windows
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: "Build and Test"
runs-on: windows-latest
strategy:
matrix:
build_type: [Release]
steps:
- uses: actions/checkout@v3
- name: Install Miniconda
uses: conda-incubator/[email protected]
with:
channels: conda-forge
- name: Install conda packages
run: conda install gtest eigen fmt cxxopts
- name: Configure
run: cmake -B ${{github.workspace}}/build -DBUILD_TESTS=ON -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}} --output-on-failure -VV