Skip to content

Commit

Permalink
Resurrect CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tschoonj committed Dec 24, 2023
1 parent c05c4c0 commit a367edd
Showing 1 changed file with 16 additions and 45 deletions.
61 changes: 16 additions & 45 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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')
Expand Down

0 comments on commit a367edd

Please sign in to comment.