From b671601498b8694477fce8519b0d54d165a6a18d Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 21 Jun 2024 22:07:29 +0200 Subject: Add CI job to build with old C and C++ standards For now we depend on some features of GNU, but should be doable to make it strict ISO C99 compliant. --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 653a99bf..48bc21b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -101,6 +101,23 @@ jobs: run: make check - name: make distcheck run: make distcheck + ubuntu-latest-with-old-std: + needs: ubuntu-latest-html-tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + with: + fetch-depth: 1 + - name: Install dependencies + run: sudo apt install -y libfltk1.3-dev libssl-dev + - name: autogen + run: ./autogen.sh + - name: configure + run: ./configure --disable-mbedtls CFLAGS="-std=gnu99" CXXFLAGS="-std=c++98" + - name: make + run: make + - name: make check + run: make check ubuntu-20-04-openssl-1-1: needs: ubuntu-latest-html-tests runs-on: ubuntu-20.04 -- cgit v1.2.3