Skip to content

Remove warning for >=C++20 compilers #275

Remove warning for >=C++20 compilers

Remove warning for >=C++20 compilers #275

Workflow file for this run

name: Check Style
on:
push:
pull_request:
env:
DIST_PREREQ: autoconf automake libtool libgmp-dev libmpfr-dev libqd-dev
MAX_ENUM_DIM: 64
MAX_PARALLEL_ENUM_DIM: 20
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Install prerequisites
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install $DIST_PREREQ
- name: Configure
run: |
./autogen.sh
./configure --disable-static --with-max-enum-dim=$MAX_ENUM_DIM \
--with-max-parallel-enum-dim=$MAX_PARALLEL_ENUM_DIM
- name: Check style
run: |
make check-style
if [[ $(git status -s) ]]; then
git --no-pager diff
echo "Code does not adhere to the project standards. Run \"make check-style\".";
exit 1;
else
echo "Code adheres to the project standards.";
exit 0;
fi;