Skip to content

Build on MacOS

Build on MacOS #1

Workflow file for this run

name: equinor/layered-file-protocols/osx
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
macos_build:
runs-on: macos-latest
env:
config: Release
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: 12.3.0
- uses: actions/[email protected]
- name: Install dependencies
run: brew install cmake fmt
- name: build lfp
run: |-
mkdir build
cd build
cmake -DLFP_FMT_HEADER_ONLY=ON -DCMAKE_BUILD_TYPE=${{ env.config }} ..
cmake --build . --config ${{ env.config }} --target install
- name: test lfp
run: |-
cd build
ctest -C ${{ env.config }} --verbose
macos_build2:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-11]
steps:
- uses: actions/[email protected]
- name: Install dependencies
run: brew install cmake fmt
- uses: "./.github/actions/cmake_build"