Fix formatting and resolve expired GPG key issues in build_cmake.yml

This commit is contained in:
Steffen Schümann 2025-12-27 22:07:27 +01:00
parent ef40391bd8
commit 3634e15e6a

View File

@ -229,7 +229,12 @@ jobs:
- name: Install CMake and Ninja
run: |
apt-get update
apt-get install -y cmake ninja-build
# GCC 5-6 need --allow-unauthenticated due to expired Jessie GPG keys
if [ "${{ matrix.compiler }}" = "gcc" ] && ([ "${{ matrix.version }}" = "5" ] || [ "${{ matrix.version }}" = "6" ]); then
apt-get install -y --allow-unauthenticated cmake ninja-build
else
apt-get install -y cmake ninja-build
fi
- name: Configure
run: |