Skip to content

Test CI

Test CI #285

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
env:
buildDir: '${{ github.workspace }}/build'
name: ${{ matrix.os }}-compile
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
triplet: x64-linux
- os: macos-latest
triplet: x64-osx
steps:
- uses: actions/checkout@v4
- uses: lukka/get-cmake@latest
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: 'fba75d09065fcc76a25dcf386b1d00d33f5175af'
- name: Run CMake consuming CMakePreset.json and run vcpkg to build packages
uses: lukka/run-cmake@v10
with:
configurePreset: 'release'
buildPreset: 'release-build'
testPreset: 'release-test'