Skip to content

Commit cacb50a

Browse files
author
Christos Konstantinos Matzoros
committed
add tests case of legacy compiler to the CI
1 parent 412437d commit cacb50a

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,33 @@ on:
88
types: [opened, closed, reopened, synchronize, ready_for_review]
99

1010
jobs:
11+
# -------------------------------------------------
12+
# 0. BUILD ON UBUNTU 20.04 (Legacy Compatibility)
13+
# -------------------------------------------------
14+
build_ubuntu_2004:
15+
name: Build (Ubuntu 20.04 - Debug)
16+
runs-on: ubuntu-20.04
17+
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master'
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
22+
- name: Install dependencies
23+
run: |
24+
sudo apt-get update
25+
sudo apt-get install -y --no-install-recommends \
26+
make gcc g++ git libboost-all-dev \
27+
doxygen graphviz python3-pip libeigen3-dev
28+
pip3 install --upgrade pip
29+
pip3 install cmake==3.21.3
30+
31+
- name: Configure (Debug)
32+
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
33+
34+
- name: Build (Debug)
35+
working-directory: ${{ github.workspace }}/build
36+
run: cmake --build . -j$(nproc)
37+
1138
# -------------------------------------------------
1239
# 1. QUICK BUILD TESTS (Debug + Release)
1340
# -------------------------------------------------

0 commit comments

Comments
 (0)