Skip to content

Commit e5e79cb

Browse files
committed
PowerTools repo needs to be enabled for specific dependencies, e.g.:
* libedit-devel * libnice-devel
1 parent 5a106e0 commit e5e79cb

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/build-test-deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
components: ['udt,myproxy,ssh', 'gram5']
1717
steps:
1818
- uses: actions/checkout@v2
19+
with:
20+
fetch-depth: 0
1921

2022
- name: build/test on ${{ matrix.image }} with ${{ matrix.components }}
2123
env:

travis-ci/run_task_inside_docker.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ case $(</etc/redhat-release) in
1212
CentOS*\ 6*) OS=centos6 ;;
1313
CentOS*\ 7*) OS=centos7 ;;
1414
Rocky\ Linux*\ 8*) OS=rockylinux8 ;;
15-
Fedora*\ 26*) OS=fedora26 ;;
16-
Fedora*\ 27*) OS=fedora27 ;;
1715
*) OS=unknown ;;
1816
esac
1917

@@ -25,6 +23,8 @@ case $OS in
2523
;;
2624
rockylinux8)
2725
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
26+
dnf -y install dnf-plugins-core
27+
dnf config-manager --set-enabled powertools
2828
;;
2929
esac
3030

@@ -37,6 +37,12 @@ packages=(gcc gcc-c++ make autoconf automake libtool \
3737
'perl(URI)' file sudo bison patch curl \
3838
pam pam-devel libedit libedit-devel)
3939

40+
if [[ $OS == rockylinux8 ]]; then
41+
42+
# provides `cmp` used by `packaging/git-dirt-filter`
43+
packages+=(diffutils)
44+
fi
45+
4046
if [[ $TASK == tests ]]; then
4147
set +e
4248
[[ $COMPONENTS == *udt* ]] && packages+=(udt-devel libnice-devel)

0 commit comments

Comments
 (0)