Skip to content

[Var] build: Autotools: Update ax_cxx_compile_stdcxx.m4 to version 25. #228

[Var] build: Autotools: Update ax_cxx_compile_stdcxx.m4 to version 25.

[Var] build: Autotools: Update ax_cxx_compile_stdcxx.m4 to version 25. #228

name: RHEL Autotools
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- { version: 'almalinux:8' }
- { version: 'almalinux:9' }
- { version: 'rockylinux:8' }
- { version: 'rockylinux:9' }
concurrency:
group: ${{github.ref}}-${{github.workflow}}-${{matrix.version}}-autotools
cancel-in-progress: true
runs-on: ubuntu-latest
container:
image: ${{matrix.version}}
steps:
- name: Update system
run: dnf -y upgrade --refresh
- name: Setup repositories
if: ${{ matrix.version == 'almalinux:8' }}
run: dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-enabled powertools && dnf -y install almalinux-release-devel && dnf -y clean all && dnf -y upgrade --refresh
- name: Setup repositories
if: ${{ matrix.version == 'almalinux:9' }}
run: dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-enabled crb && dnf -y install almalinux-release-devel && dnf -y clean all && dnf -y upgrade --refresh
- name: Setup repositories
if: ${{ matrix.version == 'rockylinux:8' }}
run: dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-enabled powertools && dnf -y config-manager --set-enabled devel && dnf -y clean all && dnf -y upgrade --refresh
- name: Setup repositories
if: ${{ matrix.version == 'rockylinux:9' }}
run: dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-enabled crb && dnf -y config-manager --set-enabled devel && dnf -y clean all && dnf -y upgrade --refresh
- name: Install dependencies
run: dnf -y install subversion perl-XML-XPath git gawk zip unzip xz make binutils gcc gcc-c++ clang pkgconf help2man doxygen autoconf autoconf-archive automake libtool zlib-devel mpg123-devel libogg-devel libvorbis-devel pulseaudio-libs-devel SDL2-devel flac-devel libsndfile-devel libtool-ltdl-devel
- name: Enable EPEL
run: dnf -y install epel-release
- name: Install EPEL dependencies
run: dnf -y install ccache portaudio-devel
- name: Checkout
uses: actions/checkout@v4
- name: fix git
# https://github.com/actions/runner/issues/2033
run: chown -R $(id -u):$(id -g) $(pwd)
- name: Build
run: export MAKEFLAGS=-j$(nproc); ./build/autotools/autoconfiscate.sh