-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (35 loc) · 974 Bytes
/
apt.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
name: Apt based Linux
on:
push:
pull_request:
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
label:
- Debian GNU/Linux Bullseye amd64
- Ubuntu Focal amd64
- Ubuntu Jammy amd64
include:
- label: Debian GNU/Linux Bullseye amd64
test-docker-image: debian:bullseye
test-script: ci/apt-test.sh
- label: Ubuntu Focal amd64
test-docker-image: ubuntu:focal
test-script: ci/apt-test.sh
- label: Ubuntu Jammy amd64
test-docker-image: ubuntu:jammy
test-script: ci/apt-test.sh
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: rake compile & rake test
run: |
docker run \
--rm \
--tty \
--volume ${PWD}:/cmetrics-ruby \
${{ matrix.test-docker-image }} \
/cmetrics-ruby/${{ matrix.test-script }}