]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/linux: tidy up AWS-LC local build
authorViktor Szakats <commit@vsz.me>
Sat, 27 Sep 2025 11:02:12 +0000 (13:02 +0200)
committerViktor Szakats <commit@vsz.me>
Sat, 27 Sep 2025 14:29:24 +0000 (16:29 +0200)
To sync with other builds and to use `-B` to avoid a cmake warning and
future breakage.

Closes #18757

.github/workflows/linux.yml

index 2724901324cf82d931d2715ad3dca78e4d84a996..463ea7eb58a456bcffc31ab8f1a2238d67a57ed9 100644 (file)
@@ -503,9 +503,8 @@ jobs:
         run: |
           curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 120 --retry 6 --retry-connrefused \
             --location "https://github.com/awslabs/aws-lc/archive/refs/tags/v${AWSLC_VERSION}.tar.gz" | tar -xz
-          mkdir "aws-lc-${AWSLC_VERSION}-build"
-          cd "aws-lc-${AWSLC_VERSION}-build"
-          cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/home/runner/awslc "../aws-lc-${AWSLC_VERSION}" -DBUILD_TOOL=OFF -DBUILD_TESTING=OFF
+          cd "aws-lc-${AWSLC_VERSION}"
+          cmake -B . -G Ninja -DCMAKE_INSTALL_PREFIX=/home/runner/awslc -DBUILD_TOOL=OFF -DBUILD_TESTING=OFF
           cmake --build .
           cmake --install .