mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +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 update
|
||||||
apk add \
|
apk add \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
clang \
|
||||||
cmake \
|
cmake \
|
||||||
crc32c-dev \
|
crc32c-dev \
|
||||||
curl-dev \
|
curl-dev \
|
||||||
fmt-dev \
|
fmt-dev \
|
||||||
g++ \
|
|
||||||
gettext-dev \
|
gettext-dev \
|
||||||
git \
|
git \
|
||||||
libevent-dev \
|
libevent-dev \
|
||||||
@@ -473,6 +473,8 @@ jobs:
|
|||||||
-S src \
|
-S src \
|
||||||
-B obj \
|
-B obj \
|
||||||
-G Ninja \
|
-G Ninja \
|
||||||
|
-DCMAKE_C_COMPILER='clang' \
|
||||||
|
-DCMAKE_CXX_COMPILER='clang++' \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
-DCMAKE_INSTALL_PREFIX=pfx \
|
-DCMAKE_INSTALL_PREFIX=pfx \
|
||||||
-DENABLE_CLI=${{ (needs.what-to-make.outputs.make-cli == 'true') && 'ON' || 'OFF' }} \
|
-DENABLE_CLI=${{ (needs.what-to-make.outputs.make-cli == 'true') && 'ON' || 'OFF' }} \
|
||||||
|
|||||||
Reference in New Issue
Block a user