Skip to content

Ci test2

Ci test2 #286

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
id: runvcpkg
with:
vcpkgGitCommitId: 'fba75d09065fcc76a25dcf386b1d00d33f5175af'
runVcpkgInstall: true
- name: Prints output of run-vcpkg's action.
run: echo "root='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}', triplet='${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_DEFAULT_TRIPLET_OUT }}' "
- 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'