-
Notifications
You must be signed in to change notification settings - Fork 31
41 lines (39 loc) · 1.08 KB
/
pull_request.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
40
41
name: build
on: [pull_request]
jobs:
build:
name: Build package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install wheel
run: pip install wheel
- name: Build sdist and wheel
run: python setup.py sdist bdist_wheel
working-directory: src
containers:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dockerfile:
- images/Dockerfile.debian12
- images/Dockerfile.debian11
- images/Dockerfile.el10
- images/Dockerfile.el9
- images/Dockerfile.el8
- images/Dockerfile.el7
- images/Dockerfile.f34
- images/Dockerfile.f33
- images/Dockerfile.suseLeap42
- images/Dockerfile.suseLeap15
steps:
- uses: actions/checkout@v2
- name: ${{ matrix.dockerfile }}
env:
DOCKERFILE: ${{ matrix.dockerfile }}
run: make docker-test && make docker-clean