Skip to content

Commit

Permalink
Use AlmaLinux and RockyLinux
Browse files Browse the repository at this point in the history
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
  • Loading branch information
Watson1978 committed Jan 14, 2025
1 parent a898aad commit 7928bf1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/yum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
fail-fast: false
matrix:
label:
- CentOS 7 x86_64
- CentOS 8 x86_64
- RockyLinux 8 x86_64
- AlmaLinux 9 x86_64
- Fedora 33 x86_64
- AmazonLinux 2 x86_64
include:
- label: CentOS 7 x86_64
test-docker-image: centos:7
- label: RockyLinux 8 x86_64
test-docker-image: rockylinux:8
test-script: ci/yum-test.sh
- label: CentOS 8 x86_64
test-docker-image: centos:8
- label: AlmaLinux 9 x86_64
test-docker-image: almalinux:9
test-script: ci/yum-test.sh
- label: Fedora 33 x86_64
test-docker-image: fedora:33
Expand All @@ -36,4 +36,4 @@ jobs:
--tty \
--volume ${PWD}:/capng \
${{ matrix.test-docker-image }} \
/capng/${{ matrix.test-script }}
/capng/${{ matrix.test-script }}
6 changes: 6 additions & 0 deletions ci/yum-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ case ${distribution} in
;;
esac
;;
rocky)
DNF="dnf --enablerepo=powertools"
;;
almalinux)
DNF="dnf --enablerepo=crb"
;;
esac

${DNF} groupinstall -y "Development Tools"
Expand Down

0 comments on commit 7928bf1

Please sign in to comment.