Skip to content

Backport file_renamed_alert::old_name() to RC_1_2 branch #2798

Backport file_renamed_alert::old_name() to RC_1_2 branch

Backport file_renamed_alert::old_name() to RC_1_2 branch #2798

Workflow file for this run

name: MacOS
on:
push:
branches: [ RC_1_2 RC_2_0 master ]
pull_request:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
test:
name: Tests
runs-on: macos-latest
continue-on-error: true
strategy:
matrix:
config: [ crypto=openssl, deprecated-functions=off ]
steps:
- name: checkout
uses: actions/checkout@v2
with:
submodules: recursive
- uses: Chocobo1/setup-ccache-action@v1
with:
override_cache_key: ccache-macos-test-${{ matrix.config }}-${{ github.base_ref }}
ccache_options: |
max_size=1G
- name: install boost
run: |
brew install boost-build boost [email protected]
echo "using darwin ;" >>~/user-config.jam
- name: build and run tests
uses: nick-invision/retry@v2
with:
timeout_minutes: 30
retry_wait_seconds: 1
max_attempts: 3
command: (cd test; b2 ${{ matrix.config }} -j2 -l400 debug-iterators=on invariant-checks=full asserts=on cxxstd=11)
sim:
name: Simulations
runs-on: macos-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
submodules: recursive
- uses: Chocobo1/setup-ccache-action@v1
with:
override_cache_key: ccache-macos-sim-${{ github.base_ref }}
ccache_options: |
max_size=1G
- name: install boost
run: |
brew install boost-build boost [email protected]
echo "using darwin ;" >>~/user-config.jam
- name: build and run simulations
run: |
cd simulation
b2 -j2 -l400 debug-iterators=on invariant-checks=full asserts=on cxxstd=11
build:
name: Build
runs-on: macos-latest
continue-on-error: true
strategy:
matrix:
config: [ crypto=openssl, release ]
steps:
- name: checkout
uses: actions/checkout@v2
with:
submodules: recursive
- uses: Chocobo1/setup-ccache-action@v1
with:
override_cache_key: ccache-macos-build-${{ matrix.config }}-${{ github.base_ref }}
ccache_options: |
max_size=1G
- name: install boost
run: |
brew install boost-build boost [email protected]
echo "using darwin ;" >>~/user-config.jam
- name: build and run tests
run: |
b2 ${{ matrix.config }} -j2 -l400 cxxstd=11