From db34bc641d2b1db1ed84e1749d915403f2f79651 Mon Sep 17 00:00:00 2001 From: Jake O'Shannessy Date: Thu, 26 Dec 2024 19:24:10 +0000 Subject: [PATCH] only enable EPEL on rocky --- .github/workflows/smv.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/smv.yml b/.github/workflows/smv.yml index 9081d1f..519d532 100644 --- a/.github/workflows/smv.yml +++ b/.github/workflows/smv.yml @@ -18,7 +18,12 @@ jobs: run: dnf update -y --refresh - name: Install basic build prerequisites run: dnf install -y git gcc g++ rpmdevtools make - - run: dnf install -y epel-release + - name: Enable EPEL + run: | + if [ "${{ matrix.container }}" = "rockylinux:9" ] + then + dnf install -y epel-release + fi - name: Install lib prerequisites run: dnf install -y cmake gd-devel freeglut-devel bash gd freeglut libXmu-devel glew-devel