Skip to content

build: utilize PROJECT_IS_TOP_LEVEL variable (#53) #162

build: utilize PROJECT_IS_TOP_LEVEL variable (#53)

build: utilize PROJECT_IS_TOP_LEVEL variable (#53) #162

Workflow file for this run

name: build
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
release:
runs-on: windows-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4.1.7
- name: Configure and build the project
uses: threeal/cmake-action@v1.3.0
with:
run-build: true
- name: Configure and build the project with examples
uses: threeal/cmake-action@v1.3.0
with:
options: BUILD_EXAMPLE=ON
run-build: true