Document building the project + Support skipping demos #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build-project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/[email protected] | |
- name: Setup cmake | |
uses: jwlawson/[email protected] | |
with: | |
# We need recent version with support for WORKING_DIRECTORY in add_test() | |
cmake-version: '3.27.6' | |
- name: Run CMake | |
uses: threeal/[email protected] | |
with: | |
run-build: true | |
run-test: true | |
test-args: "--output-on-failure" |