mirror of
https://github.com/transmission/transmission.git
synced 2025-12-19 18:08:31 +00:00
ci: use clang for alpine-musl build (#7879)
This commit is contained in:
4
.github/workflows/actions.yml
vendored
4
.github/workflows/actions.yml
vendored
@@ -441,11 +441,11 @@ jobs:
|
||||
apk update
|
||||
apk add \
|
||||
ca-certificates \
|
||||
clang \
|
||||
cmake \
|
||||
crc32c-dev \
|
||||
curl-dev \
|
||||
fmt-dev \
|
||||
g++ \
|
||||
gettext-dev \
|
||||
git \
|
||||
libevent-dev \
|
||||
@@ -473,6 +473,8 @@ jobs:
|
||||
-S src \
|
||||
-B obj \
|
||||
-G Ninja \
|
||||
-DCMAKE_C_COMPILER='clang' \
|
||||
-DCMAKE_CXX_COMPILER='clang++' \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=pfx \
|
||||
-DENABLE_CLI=${{ (needs.what-to-make.outputs.make-cli == 'true') && 'ON' || 'OFF' }} \
|
||||
|
||||
Reference in New Issue
Block a user