-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (39 loc) · 1.04 KB
/
yum.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
32
33
34
35
36
37
38
39
name: Yum based Linux
on:
push:
pull_request:
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
label:
- CentOS 7 x86_64
- CentOS 8 x86_64
- Fedora 33 x86_64
- AmazonLinux 2 x86_64
include:
- label: CentOS 7 x86_64
test-docker-image: centos:7
test-script: ci/yum-test.sh
- label: CentOS 8 x86_64
test-docker-image: centos:8
test-script: ci/yum-test.sh
- label: Fedora 33 x86_64
test-docker-image: fedora:33
test-script: ci/yum-test.sh
- label: AmazonLinux 2 x86_64
test-docker-image: amazonlinux:2
test-script: ci/yum-test.sh
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: rake compile & rake test
run: |
docker run \
--rm \
--tty \
--volume ${PWD}:/capng \
${{ matrix.test-docker-image }} \
/capng/${{ matrix.test-script }}