Skip to content

Feature/nav 85 setup package manager #54

Feature/nav 85 setup package manager

Feature/nav 85 setup package manager #54

Workflow file for this run

name: CMake Build Matrix
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, ubuntu-latest, macos-latest ]
include:
- os: windows-latest
compiler: msvc
- os: ubuntu-latest
compiler: gcc
- os: macos-latest
compiler: clang
steps:
- name: Checkout code
uses: actions/[email protected]
- name: vcpkg-action
uses: johnwason/vcpkg-action@v6
with:
pkgs: boost-date-time
triplet: ${{ matrix.os }}
- name: Install dependencies
run: vcpkg install
- name: Configure CMake
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: |
cmake --build build --config Release
buildme:
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:
- os: ubuntu-latest
vcpkg_triplet: x64-linux-release
- os: macos-latest
vcpkg_triplet: x64-osx-release
- os: windows-latest
vcpkg_triplet: x64-windows-release
steps:
- name: vcpkg build
uses: johnwason/vcpkg-action@v6
id: vcpkg
with:
pkgs: boost-date-time
triplet: ${{ matrix.config.vcpkg_triplet }}
token: ${{ secrets.GITHUB_TOKEN }}