Skip to content

Workflow file for this run

name: MacOs builds
on:
push:
branches:
- master
- develop
- githubactions*
- feature/**
- fix/**
- pr/**
jobs:
build-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [macos-13]
compiler: ['15.0.1', '14.3.1', '14.2']
env:
CONAN_USER_HOME: "${{ github.workspace }}/release/"
CONAN_USER_HOME_SHORT: "${{ github.workspace }}/release/short"
steps:
- uses: actions/checkout@v2
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: ${{ matrix.os }}-${{ matrix.compiler }}
- name: Using the builtin GitHub Cache Action for .conan
id: cache-conan
uses: actions/cache@v1
env:
cache-name: cache-conan-modules
with:
path: ${{ env.CONAN_USER_HOME }}
key: ${{ runner.os }}-builder-${{ env.cache-name }}-${{ hashFiles('conanfile.txt') }}
restore-keys: ${{ runner.os }}-builder-${{ env.cache-name }}
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.compiler }}
- name: Conan installation
id: conan
uses: turtlebrowser/[email protected]
- name: Configure, Build, and Test Project
uses: threeal/[email protected]
with:
run-build: true
run-test: true
options: CMAKE_PROJECT_TOP_LEVEL_INCLUDES=cmake/conan_provider.cmake CMAKE_BUILD_TYPE=Release CMAKE_CXX_COMPILER_LAUNCHER=ccache