From aacf9527d654a7427403f23057f142561175cd25 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sat, 1 Jun 2024 13:01:03 +0200 Subject: mkosi: Build with --werror in CI --- .github/workflows/mkosi.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github/workflows/mkosi.yml') diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index e4e233b236..a4831bae6a 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -123,6 +123,7 @@ jobs: # Enabling optimizations significantly speeds up integration tests. OPTIMIZATION=g SANITIZERS=${{ matrix.sanitizers }} + MESON_OPTIONS=--werror [Host] ToolsTree=default -- cgit v1.2.3 From 9ee96e73822c6058ae7a0e72e4c78eb54edbe4fa Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sat, 1 Jun 2024 15:14:08 +0200 Subject: mkosi: Build Fedora Rawhide sanitizers job with LLVM More coverage and clang tends to be better at sanitizers than gcc. --- .github/workflows/mkosi.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.github/workflows/mkosi.yml') diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index a4831bae6a..c9d670134d 100644 --- a/.github/workflows/mkosi.yml +++ b/.github/workflows/mkosi.yml @@ -57,24 +57,31 @@ jobs: - distro: arch release: rolling sanitizers: "" + llvm: 0 - distro: debian release: testing sanitizers: "" + llvm: 0 - distro: ubuntu release: noble sanitizers: "" + llvm: 0 - distro: fedora release: "40" sanitizers: "" + llvm: 0 - distro: fedora release: rawhide sanitizers: address,undefined + llvm: 1 - distro: opensuse release: tumbleweed sanitizers: "" + llvm: 0 - distro: centos release: "9" sanitizers: "" + llvm: 0 steps: - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 @@ -124,6 +131,7 @@ jobs: OPTIMIZATION=g SANITIZERS=${{ matrix.sanitizers }} MESON_OPTIONS=--werror + LLVM=${{ matrix.llvm }} [Host] ToolsTree=default -- cgit v1.2.3