From: <sv...@op...> - 2024-08-30 10:51:25
|
Author: manx Date: Fri Aug 30 12:51:13 2024 New Revision: 21543 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21543 Log: Merged revision(s) 21539, 21541-21542 from trunk/OpenMPT: [New] build: CI: GitHub: Add RHEL8 and RHEL9. ........ [Fix] build: CI: GitHub: RHEL: Fix installing dependencies. ........ [Fix] build: CI: GitHub: RHEL: Fix installing dependencies. ........ Added: branches/OpenMPT-1.31/.github/workflows/RHEL-Autotools.yml - copied, changed from r21539, trunk/OpenMPT/.github/workflows/RHEL-Autotools.yml branches/OpenMPT-1.31/.github/workflows/RHEL-Makefile.yml - copied, changed from r21539, trunk/OpenMPT/.github/workflows/RHEL-Makefile.yml Modified: branches/OpenMPT-1.31/ (props changed) Copied and modified: branches/OpenMPT-1.31/.github/workflows/RHEL-Autotools.yml (from r21539, trunk/OpenMPT/.github/workflows/RHEL-Autotools.yml) ============================================================================== --- trunk/OpenMPT/.github/workflows/RHEL-Autotools.yml Fri Aug 30 09:38:16 2024 (r21539, copy source) +++ branches/OpenMPT-1.31/.github/workflows/RHEL-Autotools.yml Fri Aug 30 12:51:13 2024 (r21543) @@ -2,9 +2,7 @@ on: push: - branches: [ master ] - pull_request: - branches: [ master ] + branches: [ OpenMPT-1.31 ] jobs: build: @@ -27,8 +25,26 @@ 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 upgrade --refresh && dnf -y install subversion perl-XML-XPath git mawk zip unzip p7zip xz make binutils gcc gcc-g++ clang pcc pkgconf help2man doxygen autoconf autoconf-archive automake libtool ccache zlib-devel mpg123-devel libogg-devel libvorbis-devel portaudio-devel pulseaudio-libs-devel SDL2-devel flac-devel libsndfile-devel libtool-ltdl-devel + 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 Copied and modified: branches/OpenMPT-1.31/.github/workflows/RHEL-Makefile.yml (from r21539, trunk/OpenMPT/.github/workflows/RHEL-Makefile.yml) ============================================================================== --- trunk/OpenMPT/.github/workflows/RHEL-Makefile.yml Fri Aug 30 09:38:16 2024 (r21539, copy source) +++ branches/OpenMPT-1.31/.github/workflows/RHEL-Makefile.yml Fri Aug 30 12:51:13 2024 (r21543) @@ -2,9 +2,7 @@ on: push: - branches: [ master ] - pull_request: - branches: [ master ] + branches: [ OpenMPT-1.31 ] jobs: build: @@ -35,8 +33,26 @@ 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 upgrade --refresh && dnf -y install subversion perl-XML-XPath git mawk zip unzip p7zip xz make binutils gcc gcc-g++ clang pcc pkgconf help2man doxygen autoconf autoconf-archive automake libtool ccache zlib-devel mpg123-devel libogg-devel libvorbis-devel portaudio-devel pulseaudio-libs-devel SDL2-devel flac-devel libsndfile-devel libtool-ltdl-devel + 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 |