From 016dc50f05d036ecbf4728540e47ccd6f60fae74 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 23 Jul 2024 14:26:48 +0200 Subject: [PATCH] .github/workflows/build.yml: link clang build with lld --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a3a5f07c..fa6b3346 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,28 +30,33 @@ jobs: os: ubuntu-24.04 cc: gcc-14 cxx: g++-14 + ldflags: packages: g++-14 - compiler: gcc11 os: ubuntu-22.04 cc: gcc-11 cxx: g++-11 + ldflags: packages: g++-11 - compiler: gcc10 os: ubuntu-20.04 cc: gcc-10 cxx: g++-10 + ldflags: packages: g++-10 - compiler: clang os: ubuntu-24.04 cc: clang cxx: clang++ - packages: clang + ldflags: -fuse-ld=lld + packages: clang lld runs-on: ${{ matrix.os }} env: CC: ccache ${{ matrix.cc }} CXX: ccache ${{ matrix.cxx }} + LDFLAGS: ${{ matrix.ldflags }} steps: - id: checkout