Skip to content

Utilize CDeps.cmake #256

Utilize CDeps.cmake

Utilize CDeps.cmake #256

Workflow file for this run

name: Build
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
build-project:
name: Build Project
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022]
steps:
- name: Checkout
uses: actions/checkout@v4.2.0
- name: Configure Project
uses: threeal/cmake-action@v2.0.0
with:
run-build: false
- name: Build Project
run: cmake --build build --config Release
- name: Install Project
run: cmake --install build --prefix install
- name: Upload Project
uses: actions/upload-artifact@v4.4.0
with:
name: package-${{ matrix.os }}
path: install
build-examples:
name: Build Examples
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022]
steps:
- name: Checkout
uses: actions/checkout@v4.2.0
- name: Configure Project
uses: threeal/cmake-action@v2.0.0
with:
options: BUILD_EXAMPLES=ON
run-build: false
- name: Build Examples
run: cmake --build build --target examples
build-docs:
name: Build Documentation
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4.2.0
- name: Install Doxygen
run: sudo apt-get install -y doxygen
- name: Configure Project
uses: threeal/cmake-action@v2.0.0
with:
options: BUILD_DOCS=ON
run-build: false
- name: Build Documentation
run: cmake --build build --target docs
- name: Upload Documentation
uses: actions/upload-pages-artifact@v3.0.1
with:
path: build/docs/html