curl: test against recent releases
authorMichael Wallner <mike@php.net>
Tue, 24 Sep 2024 18:08:49 +0000 (20:08 +0200)
committerMichael Wallner <mike@php.net>
Tue, 24 Sep 2024 18:08:49 +0000 (20:08 +0200)
.github/workflows/curl-matrix.yml
scripts/curlver.dist

index c409a4ad84a7a4a87574f0bc8c14403a066490b5..37481665688c138d15d2f487a0681ccd317e2fd8 100644 (file)
@@ -121,12 +121,12 @@ jobs:
           cd http
           make -f scripts/ci/Makefile test
 
-  curl-8_10_0:
-    name: curl-8_10_0
+  curl-8_9_0:
+    name: curl-8_9_0
     continue-on-error: true
     env:
       PHP: "8.3"
-      CURL: "8_10_0"
+      CURL: "8_9_0"
       enable_debug: "yes"
       enable_iconv: "yes"
       with_http_libcurl_dir: "/opt"
@@ -140,65 +140,7 @@ jobs:
         with:
           repository: curl/curl
           path: curl
-          ref: curl-8_10_0 #
-      - name: Install
-        run: |
-          echo 'deb-src http://azure.archive.ubuntu.com/ubuntu jammy main' | sudo tee -a /etc/apt/sources.list && \
-          echo 'deb-src http://azure.archive.ubuntu.com/ubuntu jammy-updates main' | sudo tee -a /etc/apt/sources.list && \
-          sudo apt-get update -y &&  \
-          sudo apt-get build-dep -y libcurl4-openssl-dev && \
-          sudo apt-get install -y \
-            php-cli \
-            php-pear \
-            libidn11-dev \
-            libidn2-0-dev \
-            libicu-dev \
-            libevent-dev \
-            libbrotli-dev \
-            re2c
-      - name: Curl
-        run: |
-          sudo chmod +x /usr/share/libtool/build-aux/ltmain.sh
-          sudo ln -s /usr/share/libtool/build-aux/ltmain.sh /usr/bin/libtool
-          cd curl
-          ./buildconf
-          ./configure --prefix=/opt --disable-dependency-tracking --with-ssl --with-openssl --without-libssh2 --disable-ldap
-          make -j2
-          make install
-      - name: Prepare
-        run: |
-          cd http
-          make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
-          make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
-      - name: Build
-        run: |
-          cd http
-          make -f scripts/ci/Makefile ext PECL=http
-      - name: Test
-        run: |
-          cd http
-          make -f scripts/ci/Makefile test
-
-  curl-8_9_1:
-    name: curl-8_9_1
-    continue-on-error: true
-    env:
-      PHP: "8.3"
-      CURL: "8_9_1"
-      enable_debug: "yes"
-      enable_iconv: "yes"
-      with_http_libcurl_dir: "/opt"
-    runs-on: ubuntu-24.04
-    steps:
-      - uses: actions/checkout@v2
-        with:
-          submodules: true
-          path: http
-      - uses: actions/checkout@v2
-        with:
-          repository: curl/curl
-          path: curl
-          ref: curl-8_9_1 #
+          ref: curl-8_9_0 #
       - name: Install
         run: |
           echo 'deb-src http://azure.archive.ubuntu.com/ubuntu jammy main' | sudo tee -a /etc/apt/sources.list && \
index 2a312a21dc0cbeabe200c7c4fdbd3aa06ba3fcac..4a78eda0f7ea4485ab2b7f3f7d407333b5b7dae8 100644 (file)
@@ -2,7 +2,7 @@
 # 7.21.5-7.29.0 fail to configure on gh actions
 
 # always test against a few recent
-latest: master 8.10.1 8.10.0 8.9.1 8.8.0 8.7.1 8.6.0 8.5.0
+latest: master 8.10.1 8.9.0 8.8.0 8.7.1 8.6.0 8.5.0
 # various linux distros
 current: 8.2.1 8.1.1 7.88.1 7.81.0
 # and a couple older