Skip to content

Commit 692afa3

Browse files
committed
Add GHA job with GCC 15
1 parent 62e8eda commit 692afa3

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/unit-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
- { compiler: clang, os: macos-14, type: Debug }
7979

8080
# Linux:
81-
# Oldest Compilers
81+
# Oldest Compilers
8282
# GCC 9 also known to show a few warnings that newer versions dont show
8383
# Use system cmake
8484
# Use boost 1.73 (min version)
@@ -105,11 +105,13 @@ jobs:
105105
# Use default boost
106106
# Use (compiler) default C++ 17 standard
107107
# Use default cmake
108-
- { compiler: gcc-14, os: ubuntu-24.04, type: Debug }
109-
- { compiler: clang-18, os: ubuntu-24.04, type: Debug, externalSanitizer: true }
110-
- { compiler: clang-21, os: ubuntu-latest, type: Debug, init_llvm: true}
108+
- { compiler: gcc-14, os: ubuntu-24.04, type: Debug }
109+
- { compiler: gcc-15, container: "ubuntu:25.04", type: Debug, os: ubuntu-latest }
110+
- { compiler: clang-18, os: ubuntu-24.04, type: Debug, externalSanitizer: true }
111+
- { compiler: clang-21, os: ubuntu-latest, type: Debug, init_llvm: true}
111112

112113
runs-on: ${{matrix.os}}
114+
container: ${{matrix.container}}
113115

114116
steps:
115117
- name: Setup env and configure flags
@@ -171,6 +173,10 @@ jobs:
171173
find "$BOOST_ROOT"/lib/cmake -type f
172174
echo "BOOST_ROOT=${BOOST_ROOT}" >> $GITHUB_ENV
173175
else
176+
if [ -n "${{matrix.container}}" ] && [ -f "/etc/debian_version" ]; then
177+
apt-get -o Acquire::Retries=5 update
178+
apt-get -o Acquire::Retries=5 -y -q --no-install-suggests --no-install-recommends install sudo software-properties-common
179+
fi
174180
compiler=${{matrix.compiler}}
175181
compiler=${compiler/gcc-/g++-}
176182
if [[ "${{matrix.init_llvm}}" == "true" ]]; then

0 commit comments

Comments
 (0)