diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d8eb6dc01..7e31582f3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -33,7 +33,7 @@ jobs:
   build-linux:
     strategy:
       matrix:
-        compiler: [gcc14, gcc10, clang]
+        compiler: [gcc14, gcc12, clang]
         include:
           - compiler: gcc14
             os: ubuntu-24.04