ci: do not configure doxygen
target for CI
#19
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: Build and Test (vcpkg) | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build and Test (${{ matrix.os }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: windows-latest | |
triplet: x64-windows-release | |
- os: macos-latest | |
triplet: arm64-osx-release | |
- os: ubuntu-latest | |
triplet: x64-linux-release | |
runs-on: ${{ matrix.os }} | |
permissions: | |
contents: read | |
env: | |
VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }} | |
VCPKG_DEFAULT_HOST_TRIPLET: ${{ matrix.triplet }} | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- name: Check out code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
submodules: true | |
- name: Set up cmake and ninja | |
uses: lukka/get-cmake@b516803a3c5fac40e2e922349d15cdebdba01e60 # v3.30.5 | |
- name: Set up vcpkg | |
uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5 | |
- name: Build and test | |
run: | | |
cmake --preset debug-vcpkg -DBUILD_DOCS=OFF | |
cmake --build --preset debug-vcpkg | |
ctest --preset debug-vcpkg | |
- name: Install | |
run: sudo cmake --install build-debug-vcpkg | |
if: runner.os != 'Windows' | |
- name: Install (Windows) | |
run: cmake --install build-debug-vcpkg --config Debug | |
if: runner.os == 'Windows' |