]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA: drop "3" from openssl names and keys
authorViktor Szakats <commit@vsz.me>
Wed, 23 Oct 2024 12:50:26 +0000 (14:50 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 23 Oct 2024 17:36:03 +0000 (19:36 +0200)
Also:
- drop patch suffix from cache key for thread-sanitizer local build
  Follow-up to 73d2779196f5b4d5b45945e06b4bbdec11b6d921 #15379

Closes #15383

.github/workflows/http3-linux.yml
.github/workflows/linux.yml
renovate.json

index 93db357ec964a78382f2e3dd5acb65697ae0a207..7025c5640e63d00622fb742f99da62a87be8a574 100644 (file)
@@ -43,7 +43,7 @@ permissions: {}
 env:
   MAKEFLAGS: -j 5
   # handled in renovate.json
-  openssl3-version: 3.4.0
+  openssl-version: 3.4.0
   # handled in renovate.json
   quictls-version: 3.3.0
   # renovate: datasource=github-tags depName=gnutls/gnutls versioning=semver registryUrl=https://github.com
@@ -291,12 +291,12 @@ jobs:
               -DHTTPD_NGHTTPX="$HOME/nghttp2/build/bin/nghttpx"
 
           - name: openssl-quic
-            PKG_CONFIG_PATH: '$HOME/openssl3/build/lib64/pkgconfig'
+            PKG_CONFIG_PATH: '$HOME/openssl/build/lib64/pkgconfig'
             configure: >-
-              LDFLAGS="-Wl,-rpath,$HOME/openssl3/build/lib64"
+              LDFLAGS="-Wl,-rpath,$HOME/openssl/build/lib64"
               --enable-warnings --enable-werror --enable-debug --disable-ntlm
               --with-test-nghttpx="$HOME/nghttp2/build/bin/nghttpx"
-              --with-openssl=$HOME/openssl3/build --with-openssl-quic
+              --with-openssl=$HOME/openssl/build --with-openssl-quic
               --with-nghttp3=$HOME/nghttp3/build
 
           - name: quiche
@@ -395,22 +395,22 @@ jobs:
           key: ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.nghttp2-version }}
           fail-on-cache-miss: true
 
-      - name: cache openssl3
+      - name: cache openssl
         if: matrix.build.name == 'openssl-quic'
         uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
-        id: cache-openssl3
+        id: cache-openssl
         env:
-          cache-name: cache-openssl3
+          cache-name: cache-openssl
         with:
-          path: /home/runner/openssl3/build
-          key: ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.openssl3-version }}
+          path: /home/runner/openssl/build
+          key: ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.openssl-version }}
 
-      - name: 'install openssl3'
-        if: matrix.build.name == 'openssl-quic' && steps.cache-openssl3.outputs.cache-hit != 'true'
+      - name: 'install openssl'
+        if: matrix.build.name == 'openssl-quic' && steps.cache-openssl.outputs.cache-hit != 'true'
         run: |
-          git clone --quiet --depth=1 -b openssl-${{ env.openssl3-version }} https://github.com/openssl/openssl
+          git clone --quiet --depth=1 -b openssl-${{ env.openssl-version }} https://github.com/openssl/openssl
           cd openssl
-          ./config --prefix=$HOME/openssl3/build
+          ./config --prefix=$HOME/openssl/build
           make -j1 install_sw
           cat exporters/openssl.pc
 
index 9cda56306613994287f7ef8da6a20a6576f6a0bb..5e93193d9a1feb94d97ca67209dfcf7d764d105b 100644 (file)
@@ -50,7 +50,7 @@ env:
   # renovate: datasource=github-tags depName=awslabs/aws-lc versioning=semver registryUrl=https://github.com
   awslc-version: 1.37.0
   # handled in renovate.json
-  openssl3-version: 3.4.0
+  openssl-version: 3.4.0
   # handled in renovate.json
   quictls-version: 3.3.0
   # renovate: datasource=github-tags depName=rustls/rustls-ffi versioning=semver registryUrl=https://github.com
@@ -233,8 +233,8 @@ jobs:
             configure: >-
               CC=clang
               CFLAGS="-fsanitize=thread -g"
-              LDFLAGS="-fsanitize=thread -Wl,-rpath,$HOME/openssl3/lib"
-              --with-openssl=$HOME/openssl3 --enable-debug
+              LDFLAGS="-fsanitize=thread -Wl,-rpath,$HOME/openssl/lib"
+              --with-openssl=$HOME/openssl --enable-debug
 
           - name: memory-sanitizer
             install_packages: clang
@@ -430,15 +430,15 @@ jobs:
         env:
           cache-name: cache-openssl-tsan
         with:
-          path: /home/runner/openssl3
-          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.openssl3-version }}-d8def798
+          path: /home/runner/openssl
+          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.openssl-version }}
 
       - name: 'build openssl (thread sanitizer)'
         if: contains(matrix.build.install_steps, 'openssl-tsan') && steps.cache-openssl-tsan.outputs.cache-hit != 'true'
         run: |
-          git clone --quiet --depth=1 -b openssl-${{ env.openssl3-version }} https://github.com/openssl/openssl
+          git clone --quiet --depth=1 -b openssl-${{ env.openssl-version }} https://github.com/openssl/openssl
           cd openssl
-          CC="clang" CFLAGS="-fsanitize=thread" LDFLAGS="-fsanitize=thread" ./config --prefix=$HOME/openssl3 --libdir=lib
+          CC="clang" CFLAGS="-fsanitize=thread" LDFLAGS="-fsanitize=thread" ./config --prefix=$HOME/openssl --libdir=lib
           make -j1 install_sw
 
       - name: 'cache quictls'
index efe632a1d5bb0f17ddaa03a2e1cca91360ff4dd0..f8b540785c33a3160e77e2685031d3da90263325 100644 (file)
@@ -75,7 +75,7 @@
         "^.github/workflows/http3-linux.yml$"
       ],
       "matchStrings": [
-        "openssl3-version: (?<currentValue>.*)\\s"
+        "openssl-version: (?<currentValue>.*)\\s"
       ],
       "datasourceTemplate": "github-tags",
       "depNameTemplate": "openssl/openssl",