From a367eddba9f9f31a1c49d044cdc9c7529a6c3af0 Mon Sep 17 00:00:00 2001 From: Tom Schoonjans Date: Sun, 24 Dec 2023 11:01:44 +0100 Subject: [PATCH] Resurrect CI --- .github/workflows/ci.yml | 61 +++++++++++----------------------------- 1 file changed, 16 insertions(+), 45 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad2595f2..5ef3f53a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - python-version: ['3.8', '3.9', '3.10'] + python-version: ['3.9', '3.10', '3.11', '3.12'] name: Pip install with Python ${{ matrix.python-version }} on ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -39,7 +39,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10'] + python-version: ['3.9', '3.10', '3.11', '3.12'] compiler: - cl - clang-cl @@ -298,27 +298,20 @@ jobs: fail-fast: false matrix: image: - - ubuntu:focal - - ubuntu:devel - - debian:bullseye - - debian:sid - - centos:7 + - ubuntu:jammy + - debian:bookworm - rockylinux:8 + - rockylinux:9 - fedora:latest - - fedora:rawhide cc: - clang - gcc buildsystem: - autotools - meson - exclude: - - image: ubuntu:focal - buildsystem: meson - - image: centos:7 - buildsystem: meson - - image: rockylinux:8 - buildsystem: meson + # exclude: + # - image: rockylinux:8 + # buildsystem: meson include: # at least some versions of clang cannot compile php bindings - cython: cython @@ -339,36 +332,13 @@ jobs: fortran: disable clang_cflags: -Qunused-arguments python: disable - - image: centos:7 - fpc: disable - cython: cython3.6 - - image: centos:7 - cc: clang - libs: -stdlib=libstdc++ - fortran: disable - clang_cflags: -Qunused-arguments - python: disable - cc: clang image: fedora:latest perl: disable python: disable clang_cflags: -Qunused-arguments - - cc: clang - image: fedora:rawhide - perl: disable - python: disable - clang_cflags: -Qunused-arguments - - image: ubuntu:focal - lua: /usr/bin/lua5.3 - - image: ubuntu:devel - lua: /usr/bin/lua5.3 - image: debian:bullseye lua: /usr/bin/lua5.3 - - image: debian:sid - lua: /usr/bin/lua5.3 - php: disable # comes with PHP 8, unsupported by SWIG - - image: centos:7 - lua: /usr/bin/lua - image: rockylinux:8 lua: /usr/bin/lua - image: fedora:latest @@ -389,7 +359,7 @@ jobs: env: DEBIAN_FRONTEND: noninteractive - name: Install Git - if: startsWith(matrix.image, 'centos') || startsWith(matrix.image, 'fedora') + if: startsWith(matrix.image, 'rockylinux') || startsWith(matrix.image, 'fedora') run: | set -ex yum install -y git @@ -413,20 +383,21 @@ jobs: set +ex env: DEBIAN_FRONTEND: noninteractive - - name: Activate CentOS 8 PowerTools and EPEL repo + - name: Activate RockyLinux 8 PowerTools and EPEL repo if: matrix.image == 'rockylinux:8' run: | set -ex - yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf install -y 'dnf-command(config-manager)' dnf config-manager --set-enabled powertools + dnf install epel-release set +ex - - name: Activate CentOS 7 EPEL repo - if: matrix.image == 'centos:7' + - name: Activate RockyLinux 9 PowerTools and EPEL repo + if: matrix.image == 'rockylinux:9' run: | set -ex - yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm - yum install -y python36-Cython # this one needs to be brought in separately for CentOS 7 + dnf install -y 'dnf-command(config-manager)' + dnf config-manager --set-enabled crb + dnf install epel-release set +ex - name: Install RHEL dependencies if: startsWith(matrix.image, 'centos') || startsWith(matrix.image, 'fedora') || startsWith(matrix.image, 'rockylinux')