Remove Ubuntu 18.04 and Ubuntu 21.04. Add Debian 11
MODIFY
.github/workflows/stable-compilation.yml
.github/workflows/stable-compilation.yml
@@ -20,11 +20,10 @@ jobs:
fail-fast: false
matrix:
image:
- - ubuntu:18.04 # CMake 3.10.2 - g++ 7.4.0 - LTS
- - debian:10 # CMake 3.13.4 - g++ 8.3.0 - old
+ - debian:10 # CMake 3.13.4 - g++ 8.3.0 - oldstable
- ubuntu:20.04 # CMake 3.16.3 - g++ 9.3.0 - LTS
- - ubuntu:21.04 # CMake 3.18.4 - g++ 10.3.0 - stable
-
+ - debian:11 # CMake 3.18.4 - g++ 10.2.1 - stable
+ - ubuntu:22.04 # CMake 3.22.1 - g++ 11.2.0 - LTS
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.8.0
@@ -42,12 +41,9 @@ jobs:
- name: Compile
run: |
- mkdir build
- cd build
- # cmake < 3.13 does not support '-B'
- cmake -G Ninja .. \
+ cmake -G Ninja -B build . \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
- cmake --build .
+ cmake --build build
- name: Install
run: |

Remove Ubuntu 18.04 and Ubuntu 21.04. Add Debian 11