Skip to content

Commit

Permalink
build: powertools is needed on REHL8, and cbr is only for RHEL9
Browse files Browse the repository at this point in the history
  • Loading branch information
gwarf committed Jun 11, 2024
1 parent 2c93654 commit d7473e3
Showing 1 changed file with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,24 +68,40 @@ jobs:
yum install -y http://repository.egi.eu/sw/production/umd/4/centos7/x86_64/updates/umd-release-4.1.3-1.el7.centos.noarch.rpm
yum localinstall -y ui-*.rpm
install-almalinux:
strategy:
matrix:
almalinux-version: [8, 9]
name: Install AlmaLinux ${{ matrix.almalinux-version }} RPMs
install-almalinux8:
name: Install AlmaLinux 8 RPMs
needs: build-almalinux
runs-on: ubuntu-latest
container: almalinux:${{ matrix.almalinux-version }}
container: almalinux:8
steps:
- uses: actions/download-artifact@v3
with:
name: rpms${{ matrix.almalinux-version }}
name: rpms8
- name: Install generated RPMs
run: |
dnf install -y epel-release
dnf config-manager --add-repo http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo
# FIXME: Replace WLCG repo by UMD5 once available
dnf install -y https://linuxsoft.cern.ch/wlcg/el8/x86_64/wlcg-repo-1.0.0-1.el8.noarch.rpm
dnf install -y https://research.cs.wisc.edu/htcondor/repo/23.x/htcondor-release-current.el8.noarch.rpm
dnf config-manager --set-enabled powertools
dnf localinstall -y ui-*.rpm
install-almalinux9:
name: Install AlmaLinux 9 RPMs
needs: build-almalinux
runs-on: ubuntu-latest
container: almalinux:9
steps:
- uses: actions/download-artifact@v3
with:
name: rpms9
- name: Install generated RPMs
run: |
dnf install -y epel-release
dnf config-manager --add-repo http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo
# FIXME: Replace WLCG repo by UMD5 once available
dnf install -y https://linuxsoft.cern.ch/wlcg/el${{ matrix.almalinux-version }}/x86_64/wlcg-repo-1.0.0-1.el${{ matrix.almalinux-version }}.noarch.rpm
dnf install -y https://research.cs.wisc.edu/htcondor/repo/23.x/htcondor-release-current.el${{ matrix.almalinux-version }}.noarch.rpm
dnf install -y https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-repo-1.0.0-1.el9.noarch.rpm
dnf install -y https://research.cs.wisc.edu/htcondor/repo/23.x/htcondor-release-current.el9.noarch.rpm
dnf config-manager --set-enabled crb
dnf localinstall -y ui-*.rpm

0 comments on commit d7473e3

Please sign in to comment.