-
Notifications
You must be signed in to change notification settings - Fork 29
81 lines (69 loc) · 2.42 KB
/
main.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: CI
on:
push:
branches: [ master, 'release/*' ]
pull_request:
branches: [ master, 'release/*' ]
permissions: read-all
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Verify dockefiles are up-to-date
run: |
cmake .
make -j$(nproc)
git diff --exit-code
rst-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
python3-pkg-resources \
python3-restructuredtext-lint
- run: rst-lint --level warning .
# we don't want to fix all messages which are reported at info level,
# but let's have ci step which prints them out for easier look up
- run: rst-lint --level info . || true
cdn-intel-pkgs-u22-04:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Building CDN demo w/ Intel pkgs
run: docker build --build-arg SAMPLE=cdn --no-cache --force-rm -f docker/ubuntu22.04/intel-gfx/Dockerfile -t intel-media-delivery-cdn .
cdn-native-pkgs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Building CDN demo w/ Ubuntu native pkgs
run: docker build --build-arg SAMPLE=cdn --no-cache --force-rm -f docker/ubuntu20.04/native/Dockerfile -t intel-media-delivery-cdn .
cdn-selfbuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Building CDN against selfbuild stack
run: docker build --build-arg SAMPLE=cdn --no-cache --force-rm -f docker/ubuntu20.04/selfbuild/Dockerfile -t intel-media-delivery-cdn .
cdn-selfbuild-prodkmd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Building CDN against selfbuild stack
run: docker build --build-arg SAMPLE=cdn --no-cache --force-rm -f docker/ubuntu20.04/selfbuild-prodkmd/Dockerfile -t intel-media-delivery-cdn .
dkms-u2004:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Building DKMS pkgs
run: docker build --no-cache --force-rm -f docker/ubuntu20.04/dkms/Dockerfile -t dkms .
dkms-u2204:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Building DKMS pkgs
run: docker build --no-cache --force-rm -f docker/ubuntu22.04/dkms/Dockerfile -t dkms .