]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
ci: build with GCC 13/11
authorThomas Weißschuh <thomas@t-8ch.de>
Mon, 29 May 2023 09:23:47 +0000 (11:23 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 1 Jun 2023 13:01:14 +0000 (15:01 +0200)
Newer releases of GCC 13 have reigned in the false positives, so use it
for CI now.
The sanitizer builds are sticking to GCC 11 for now.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
.github/workflows/cibuild.yml

index 2a6d02c5c2b7350fe3b0d5ea7f8a299ffeda1d0a..e91179ea6d08d01d05a4c3fffc27b3fd18197220 100644 (file)
@@ -24,8 +24,9 @@ jobs:
       fail-fast: false
       matrix:
         env:
-          - { COMPILER: "gcc",   COMPILER_VERSION: "10", SANITIZE: "yes"  }
-          - { COMPILER: "gcc",   COMPILER_VERSION: "10", SANITIZE: "no"   }
+          # gcc-13 has false-positives with ubsan
+          - { COMPILER: "gcc",   COMPILER_VERSION: "11", SANITIZE: "yes"  }
+          - { COMPILER: "gcc",   COMPILER_VERSION: "13", SANITIZE: "no"   }
           - { COMPILER: "clang", COMPILER_VERSION: "15", SANITIZE: "yes"  }
           - { COMPILER: "clang", COMPILER_VERSION: "15", SANITIZE: "no"   }
     env: ${{ matrix.env }}