changeset 8222:54dfda1c4fe5

issue251338 - xapian doesn't build in CI for 3.13 python ubuntu-latest is ubunut-24.04. so re-enable xapian install for 3.13. Also remove include for python-3.12/ ubuntu-24.04 as -latest covers it. Clean up excludes as only python-latest is used and exclude is used for named version not the actual version (ubuntu-latest is not excluded by ubuntu-24.04 even thugh that's it's actual version).
author John Rouillard <rouilj@ieee.org>
date Wed, 18 Dec 2024 20:22:58 -0500
parents 3d7292d222d1
children cfd8eb705c2f
files .github/workflows/ci-test.yml
diffstat 1 files changed, 4 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Wed Dec 18 16:24:22 2024 -0500
+++ b/.github/workflows/ci-test.yml	Wed Dec 18 20:22:58 2024 -0500
@@ -65,7 +65,7 @@
         #os: [ubuntu-latest, macos-latest, windows-latest]
         # ubuntu latest 22.04 12/2022
         # ubuntu latest 24.04 12/2024
-        os: [ubuntu-24.04, ubuntu-latest, ubuntu-20.04]
+        os: [ubuntu-latest]
 
         # if the ones above fail. fail the build
         experimental: [ false ]
@@ -78,10 +78,6 @@
             #  os: ubuntu-22.04
             #  experimental: true
             
-            # test on new default 24.04 runner 3.12 for 24.04
-            - python-version: 3.12
-              os: ubuntu-24.04
-
             # 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu
             - python-version: 3.6
               os: ubuntu-20.04
@@ -91,10 +87,10 @@
               os: ubuntu-22.04
 
         exclude:
-            # skip all python versions on 20.04/24.04 except
+            # skip all python versions on explicit 20.04/24.04 unless
             # explicitly included
-            - os: ubuntu-20.04
-            - os: ubuntu-24.04
+            #- os: ubuntu-20.04
+            #- os: ubuntu-24.04
 
             # disable when testing ubuntu-24.04 to speed up
             # runs.
@@ -256,10 +252,6 @@
               pip install Markdown; fi
 
       - name: Install xapian
-        # comment the if: line out once we start running on
-        # ubuntu-24.04. 24.04 has xapian 1.4.22 which builds
-        # correctly with python 3.13.
-        if: matrix.python-version != '3.13'
         run: |
           set -xv
           sudo apt-get install libxapian-dev

Roundup Issue Tracker: http://roundup-tracker.org/