-
Notifications
You must be signed in to change notification settings - Fork 13
31 lines (30 loc) · 978 Bytes
/
redhat.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Redhat variations
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- container: redhat/ubi9
name: RHEL
- container: almalinux
name: Alma
- container: fedora:latest
name: Fedora
- container: rockylinux:9
name: Rocky
container:
image: ${{ matrix.container}}
steps:
- uses: actions/checkout@v4
- name: Test on ${{ matrix.name }} - ${{ matrix.container }}
run: |
cat /etc/os-release
yum install -qy make git perl gcc
yes|perl -MCPAN -e 'install qw(App::cpanminus local::lib Expect)'
export PERL5OPT=-Mlocal::lib
/usr/local/bin/cpanm --installdeps .
perl makefile-expect-driver.pl Linux Unix OSFeatures::POSIXShellRedirection HWCapabilities::Int64 Linux::Redhat Linux::${{ matrix.name }}
make test