CONTRIBUTORS.txt added. #45
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: Continuous Integrations | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
unit-test: | |
strategy: | |
matrix: | |
toolset: [gcc, clang] | |
os: [ubuntu-20.04, ubuntu-22.04] | |
include: | |
- sanitize: 1 | |
- os: ubuntu-20.04 # Work-around for https://bugs.launchpad.net/ubuntu/+source/gcc-10/+bug/2029910 | |
sanitize: 0 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Boost.Test | |
run: sudo apt-get --quiet --yes install libboost-test-dev | |
- name: Environment variables | |
run: make -r TOOLSET=${{ matrix.toolset }} env | |
- name: Toolset versions | |
run: make -r TOOLSET=${{ matrix.toolset }} versions | |
- name: Build and run unit tests | |
run: make -rj2 TOOLSET=${{ matrix.toolset }} example run_tests | |
- if: ${{ matrix.sanitize }} | |
name: Build and run unit tests with thread sanitizer | |
run: make -rj2 TOOLSET=${{ matrix.toolset }} BUILD=sanitize run_tests |