Split out cmake-build.yml from build.yml #2
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: libbinio CMake CI | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ 'windows-latest', 'ubuntu-latest', 'macos-latest' ] | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Get cmake and ninja | |
uses: lukka/get-cmake@latest | |
- name: Find MSVC (on Windows) | |
uses: ilammy/msvc-dev-cmd@v1 | |
- name: Checkout libbinio repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Build libbinio | |
uses: lukka/run-cmake@v10 | |
env: | |
VCPKG_ROOT: | |
# workaround for https://github.com/lukka/run-cmake/issues/142 | |
with: | |
configurePreset: shared | |
buildPreset: shared |