fix calibration point algorithm #2636
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mac OS build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: [macos-11] | |
shortname: default-11 | |
- os: [macos-12] | |
shortname: default-12 | |
- os: [macos-13] | |
shortname: default-13 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
run: | | |
brew install automake boost ccache | |
- name: Cache | |
uses: hendrikmuhs/[email protected] | |
with: | |
key: macos-ci-build-${{ matrix.shortname }}-${{ github.ref }} | |
restore-keys: | | |
macos-ci-build-${{ matrix.shortname }}-${{ github.ref }} | |
macos-ci-build-${{ matrix.shortname }}-refs/heads/master | |
macos-ci-build-${{ matrix.shortname }}- | |
- name: Compiler version | |
run: | | |
clang --version | |
- name: Build | |
run: | | |
./autogen.sh | |
./configure --disable-shared ${{ matrix.configureflags }} CC="ccache clang" CXX="ccache clang++" CXXFLAGS="-O2 -g0 -Wall -Werror ${{ matrix.cxxflags }}" | |
make -j 3 | |
- name: Run tests | |
run: | | |
./test-suite/quantlib-test-suite --log_level=message | |
- name: Run examples | |
run: | | |
make -C Examples check-examples |