Skip to content

build: add CMake options (#74) #172

build: add CMake options (#74)

build: add CMake options (#74) #172

name: Build and Test
on:
workflow_dispatch:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
build-and-test:
runs-on: ubuntu-20.04
steps:
- name: Checkout this repository
uses: actions/checkout@v4.1.7
- name: Build project
uses: threeal/cmake-action@v1.3.0
with:
options: MUSEN_BUILD_TESTS=ON MUSEN_BUILD_EXAMPLES=ON
run-build: true
- name: Test project
uses: threeal/ctest-action@v1.1.0