Skip to content

Notify the completion handler through the handler's associated executor #56

Notify the completion handler through the handler's associated executor

Notify the completion handler through the handler's associated executor #56

Workflow file for this run

name: CMake
on:
push:
branches:
- '**'
pull_request:
branches: [master]
jobs:
build:
strategy:
fail-fast: false
matrix:
config:
- {
name: "ubuntu22",
os: ubuntu-22.04,
boost_url: system,
zmq_tag: system,
system_packages: "libboost-all-dev libzmq3-dev ",
cc: "gcc",
cxx: "g++",
}
- {
name: "ubuntu20 stock",
os: ubuntu-20.04,
boost_url: system,
zmq_tag: system,
system_packages: "libboost-all-dev libzmq3-dev ",
cc: "gcc",
cxx: "g++",
}
- {
name: "macos12 ",
os: macos-12,
boost_url: system,
zmq_tag: system,
system_packages: "zmq boost",
cc: "clang",
cxx: "clang++",
}
- {
name: "macos11 ",
os: macos-11,
boost_url: system,
zmq_tag: system,
system_packages: "zmq boost",
cc: "clang",
cxx: "clang++",
}
runs-on: ${{ matrix.config.os }}
env:
CC: ${{ matrix.config.cc }}
CXX: ${{ matrix.config.cxx }}
CTEST_OUTPUT_ON_FAILURE: 1
PACKAGES: ${{ matrix.config.system_packages }}
steps:
- uses: actions/checkout@v3
- name: buildtools on ubuntu
if: startsWith(matrix.config.name, 'ubuntu')
shell: bash
run: |
if [ -n "$PACKAGES" ]; then
sudo apt-get install -y $PACKAGES
fi
- name: buildtools on macos
if: startsWith(matrix.config.name, 'macos') && matrix.config.*.system_packages
shell: bash
run: |
if [ -n "$PACKAGES" ]; then
brew install $PACKAGES
fi
- name: build
shell: bash
run: |
cmake -DBOOST_URL=${{matrix.config.boost_url}} -DZMQ_TAG=${{matrix.config.zmq_tag}} -S .github/workflows/cmake-superbuild -B build
cmake --build build