mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:53:32 +03:00
GHA: enable unity mode for cmake jobs + tidy-ups
Unity mode is not supported by CMake v3.7.2 used in linux-old, but enable it anyway for consistency and to kick in automatically once migrating to a newer old Linux in the future. Also: - replace `CMAKE_COMPILE_WARNING_AS_ERROR` with `CURL_WERROR`. - delete default build option `PICKY_COMPILER=ON`. Closes #13277
This commit is contained in:
parent
376cd67035
commit
b6f2e33118
3 changed files with 4 additions and 5 deletions
3
.github/workflows/awslc.yml
vendored
3
.github/workflows/awslc.yml
vendored
|
|
@ -141,8 +141,7 @@ jobs:
|
|||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
# CMAKE_COMPILE_WARNING_AS_ERROR is available in cmake 3.24 or later
|
||||
- run: cmake -Bbuild -DOPENSSL_ROOT_DIR=$HOME/awslc -DBUILD_SHARED_LIBS=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON .
|
||||
- run: cmake -Bbuild -DCMAKE_UNITY_BUILD=ON -DCURL_WERROR=ON -DOPENSSL_ROOT_DIR=$HOME/awslc -DBUILD_SHARED_LIBS=ON .
|
||||
name: 'cmake generate out-of-tree'
|
||||
|
||||
- run: cmake --build build --parallel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue