[Fix] Sample tab: Since r25000, dropping a sample file from the tree … #2196
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: 'almalinux:10' } | |
| - { version: 'rockylinux/rockylinux:8' } | |
| - { version: 'rockylinux/rockylinux:9' } | |
| - { version: 'rockylinux/rockylinux:10' } | |
| 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 == 'almalinux:10' }} | |
| 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/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/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: Setup repositories | |
| if: ${{ matrix.version == 'rockylinux/rockylinux:10' }} | |
| 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 --allowerasing 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 --allowerasing 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 |