Add security.md and set permissions for action workflows #330
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master, 'release/*' ] | |
pull_request: | |
branches: [ master, 'release/*' ] | |
permissions: read-all | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- 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@v3 | |
- 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@v3 | |
- 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@v3 | |
- 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@v3 | |
- 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@v3 | |
- 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@v3 | |
- 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@v3 | |
- name: Building DKMS pkgs | |
run: docker build --no-cache --force-rm -f docker/ubuntu22.04/dkms/Dockerfile -t dkms . | |