(Backport) Treat CGNAT address range as local IPs #2754
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: 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 openssl@1.1 | |
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 openssl@1.1 | |
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 openssl@1.1 | |
echo "using darwin ;" >>~/user-config.jam | |
- name: build and run tests | |
run: | | |
b2 ${{ matrix.config }} -j2 -l400 cxxstd=11 |