Skip to content

Updated lib

Updated lib #12

Workflow file for this run

name: macos
on: [push, pull_request]
jobs:
build:
runs-on: ${{matrix.config.os}}
strategy:
fail-fast: false
matrix:
config:
# https://github.com/actions/virtual-environments/tree/main/images/macos
- { os: "macos-12", xcode: "14.0", arch: "x64" }
- { os: "macos-12", xcode: "14.1", arch: "x64" }
- { os: "macos-12", xcode: "14.2", arch: "x64" }
#name: "xcode-${{matrix.config.xcode}}"
steps:
- name: Setup
run: |
brew update
brew install cmake ninja openssl
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Select Xcode
run: sudo xcode-select --switch "/Applications/Xcode_${{matrix.config.xcode}}.app"
- name: Build
run: |
cmake --preset macos-${{matrix.config.arch}} -DOPENSSL_ROOT_DIR=$(brew --prefix openssl)
cmake --build --preset macos-${{matrix.config.arch}}-release
- name: Test
run: |
ctest --preset macos-${{matrix.config.arch}}-release