From cacb50affbae1e6e3c4ab4d6c3d44b787dcdca79 Mon Sep 17 00:00:00 2001 From: Christos Konstantinos Matzoros Date: Mon, 24 Nov 2025 13:47:58 +0100 Subject: [PATCH] add tests case of legacy compiler to the CI --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e2d96df1..1b3a2486 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,33 @@ on: types: [opened, closed, reopened, synchronize, ready_for_review] jobs: + # ------------------------------------------------- + # 0. BUILD ON UBUNTU 20.04 (Legacy Compatibility) + # ------------------------------------------------- + build_ubuntu_2004: + name: Build (Ubuntu 20.04 - Debug) + runs-on: ubuntu-20.04 + if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master' + + steps: + - uses: actions/checkout@v3 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends \ + make gcc g++ git libboost-all-dev \ + doxygen graphviz python3-pip libeigen3-dev + pip3 install --upgrade pip + pip3 install cmake==3.21.3 + + - name: Configure (Debug) + run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug + + - name: Build (Debug) + working-directory: ${{ github.workspace }}/build + run: cmake --build . -j$(nproc) + # ------------------------------------------------- # 1. QUICK BUILD TESTS (Debug + Release) # -------------------------------------------------