chore(deps): bump lukka/get-cmake from 3.28.1 to 3.28.3 #67
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 | |
on: | |
push: | |
branches: | |
- master | |
- docs | |
paths: | |
- '**.yml' | |
- 'include/**' | |
- 'src/**' | |
- 'CMakeLists.txt' | |
- '**.cmake' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '**.yml' | |
- 'include/**' | |
- 'src/**' | |
- 'CMakeLists.txt' | |
- '**.cmake' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install latest CMake and Ninja | |
uses: lukka/[email protected] | |
- name: Install LLVM and Clang | |
uses: KyleMayes/[email protected] | |
with: | |
version: "14.0" | |
- name: vcpkg install | |
run: | | |
vcpkg install spdlog | |
vcpkg install cli11 | |
vcpkg list | |
- name: Setup VCPKG_DEFAULT_TRIPLET (macOS) | |
if: matrix.os == 'macos-latest' | |
run: | | |
echo "VCPKG_DEFAULT_TRIPLET=x64-osx" >> $env:GITHUB_ENV | |
- name: Build Ninja | |
run: | | |
cmake -S . -B build/ninja/ -GNinja | |
- name: Build target | |
run: | | |
cmake -S . -B build/${{ runner.os }}/ |