Skip to content

Commit

Permalink
.github/workflows/build.yml: link clang build with lld
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Jul 23, 2024
1 parent 249b62f commit 016dc50
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 016dc50

Please sign in to comment.