diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 3ea8e6f3..52b49851 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -13,37 +13,56 @@ env: DEBIAN_FRONTEND: "noninteractive" jobs: - ubuntu-2004: - name: Ubuntu 20.04 + almalinux-9: + name: AlmaLinux 9 runs-on: ubuntu-latest - container: ubuntu:20.04 + container: almalinux:9 steps: - uses: actions/checkout@v3.1.0 - name: Install system dependencies run: | - apt update - apt-get upgrade -y - apt-get -y install make \ + dnf -y install make \ autoconf \ - build-essential \ + automake \ + libtool \ + gcc \ + gcc-c++ \ + make \ + pkgconfig \ + zlib-devel + - run: ./autogen.sh + - run: CFLAGS="${DEFAULT_CFLAGS}" ./configure + - run: make -j2 + - run: make install + - run: make distcheck + + almalinux-8: + name: AlmaLinux 8 + runs-on: ubuntu-latest + container: almalinux:8 + steps: + - uses: actions/checkout@v3.1.0 + - name: Install system dependencies + run: | + dnf -y install make \ autoconf \ automake \ - dpkg-dev \ - debhelper \ libtool \ + gcc \ + gcc-c++ \ make \ - pkg-config \ - zlib1g-dev + pkgconfig \ + zlib-devel - run: ./autogen.sh - run: CFLAGS="${DEFAULT_CFLAGS}" ./configure - run: make -j2 - run: make install - run: make distcheck - ubuntu-2204: - name: Ubuntu 22.04 + ubuntu-2004: + name: Ubuntu 20.04 runs-on: ubuntu-latest - container: ubuntu:22.04 + container: ubuntu:20.04 steps: - uses: actions/checkout@v3.1.0 - name: Install system dependencies @@ -53,8 +72,9 @@ jobs: apt-get -y install make \ autoconf \ build-essential \ - autoconf \ automake \ + dpkg-dev \ + debhelper \ libtool \ make \ pkg-config \ @@ -65,24 +85,24 @@ jobs: - run: make install - run: make distcheck - centos-7: - name: CentOS 7 + ubuntu-2204: + name: Ubuntu 22.04 runs-on: ubuntu-latest - container: centos:7 + container: ubuntu:22.04 steps: - uses: actions/checkout@v3.1.0 - name: Install system dependencies run: | - yum -y install \ + apt update + apt-get upgrade -y + apt-get -y install make \ autoconf \ + build-essential \ automake \ - gcc \ - gcc-c++ \ libtool \ make \ - pkgconfig \ - which \ - zlib-devel + pkg-config \ + zlib1g-dev - run: ./autogen.sh - run: CFLAGS="${DEFAULT_CFLAGS}" ./configure - run: make -j2