aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-06-21 22:07:29 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-06-21 22:47:01 +0200
commitb671601498b8694477fce8519b0d54d165a6a18d (patch)
tree1de4702dc7e4e78a1b5948e9ec49bf292a4cf9dc /.github/workflows/build.yml
parent5db6c990b93262ab78879bc7c8221a97eb8626cd (diff)
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.
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml17
1 files changed, 17 insertions, 0 deletions
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