Skip to content

regression

regression #258

Workflow file for this run

name: regression
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '38 7 * * 6'
jobs:
asan:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: sudo apt-get install --no-install-recommends g++ cmake
- name: Prepare for build
run: mkdir build
- name: Configure cmake
working-directory: build
run: cmake -DCMAKE_BUILD_TYPE=Debug -DSANITIZE=address -DCMAKE_CXX_COMPILER=g++ -DCXX_STANDARD_UPTO=23 ..
- name: Build
working-directory: build
run: make -j2 unit_test
- name: Run unit test
working-directory: build
run: ctest -j2 --output-on-failure
ubsan:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: sudo apt-get install --no-install-recommends g++ cmake
- name: Prepare for build
run: mkdir build
- name: Configure cmake
working-directory: build
run: cmake -DCMAKE_BUILD_TYPE=Debug -DSANITIZE=undefined -DCMAKE_CXX_COMPILER=g++ -DCXX_STANDARD_UPTO=23 ..
- name: Build
working-directory: build
run: make -j2 unit_test
- name: Run unit test
working-directory: build
run: ctest -j2 --output-on-failure
gcc10:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: sudo apt-get install --no-install-recommends g++-10 cmake
- name: Prepare for build
run: mkdir build
- name: Configure cmake
working-directory: build
run: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++-10 -DCXX_STANDARD_UPTO=20 ..
- name: Build
working-directory: build
run: make -j2 unit_test
- name: Run unit test
working-directory: build
run: ctest -j2 --output-on-failure
gcc11:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: sudo apt-get install --no-install-recommends g++ cmake
- name: Prepare for build
run: mkdir build
- name: Configure cmake
working-directory: build
run: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++ -DCXX_STANDARD_UPTO=23 ..
- name: Build
working-directory: build
run: make -j2 unit_test
- name: Run unit test
working-directory: build
run: ctest -j2 --output-on-failure
gcc12:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: sudo apt-get install --no-install-recommends g++-12 cmake
- name: Prepare for build
run: mkdir build
- name: Configure cmake
working-directory: build
run: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++-12 -DCXX_STANDARD_UPTO=23 ..
- name: Build
working-directory: build
run: make -j2 unit_test
- name: Run unit test
working-directory: build
run: ctest -j2 --output-on-failure
clang13:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: sudo apt-get install --no-install-recommends clang-13 cmake
- name: Prepare for build
run: mkdir build
- name: Configure cmake
working-directory: build
run: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-13 -DCXX_STANDARD_UPTO=23 ..
- name: Build
working-directory: build
run: make -j2 unit_test
- name: Run unit test
working-directory: build
run: ctest -j2 --output-on-failure
clang14:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install prerequisites
run: sudo apt-get install --no-install-recommends clang-14 cmake
- name: Prepare for build
run: mkdir build
- name: Configure cmake
working-directory: build
run: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-14 -DCXX_STANDARD_UPTO=23 ..
- name: Build
working-directory: build
run: make -j2 unit_test
- name: Run unit test
working-directory: build
run: ctest -j2 --output-on-failure