From 67349354e4a4cd000273b357f12f549b05aa5db6 Mon Sep 17 00:00:00 2001 From: Linus Dierheimer Date: Mon, 12 Jun 2023 17:20:27 +0200 Subject: [PATCH] Don't build the combination of musl & features --- .github/workflows/push.yml | 8 +++++++- src/common/init.c | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 0b79ffc62..a5ff38bb2 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -13,8 +13,14 @@ jobs: fail-fast: false matrix: os: [ubuntu-22.04, ubuntu-20.04] - compiler: [gcc, clang, "musl-gcc"] + compiler: [gcc, clang, "musl-gcc", "musl-clang"] enableFeatures: [ON, OFF] + exclude: + # The feature libraries are all build against glibc, so they can't be used with musl + - compiler: "musl-gcc" + enableFeatures: ON + - compiler: "musl-clang" + enableFeatures: ON runs-on: ${{ matrix.os }} steps: - name: checkout repository diff --git a/src/common/init.c b/src/common/init.c index f469de137..c8bb50f91 100644 --- a/src/common/init.c +++ b/src/common/init.c @@ -7,7 +7,6 @@ #include #include -#include #ifdef _WIN32 #include #include