]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/codeql-analysis: install libpsl
authorViktor Szakats <commit@vsz.me>
Mon, 16 Dec 2024 19:58:31 +0000 (20:58 +0100)
committerViktor Szakats <commit@vsz.me>
Mon, 16 Dec 2024 20:09:10 +0000 (21:09 +0100)
Stay with the default CMake build. It requires libpsl now, but
the latest Ubuntu runner no longer seems to provide it. Install it
manually.

Bug: https://github.com/curl/curl/pull/15464#issuecomment-2546602052
Follow-up to 7afbc39173f1dc00b99ebe3b08837d6d051672d6 #15464

Closes #15760

.github/workflows/codeql-analysis.yml

index d5cbc235414ba5f6fb220fbf51f009fefe09389e..e3fe9051e33546ca7256ee2a3ddd8ab81ddf074f 100644 (file)
@@ -46,6 +46,13 @@ jobs:
     permissions:
       security-events: write
     steps:
+      - name: 'install prereqs'
+        run: |
+          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
+          sudo apt-get update -y
+          sudo apt-get install -y --no-install-suggests --no-install-recommends \
+            libpsl-dev
+
       - name: Checkout repository
         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
         with: