Skip to content

common: trigger the main workflow for branches that are not maintained on pmem/pmdk #335

common: trigger the main workflow for branches that are not maintained on pmem/pmdk

common: trigger the main workflow for branches that are not maintained on pmem/pmdk #335

Workflow file for this run

# Validate on default OSes.
name: Main
on:
workflow_dispatch:
pull_request:
push:
# It is just for developer convenience so pushes to forks triggers the same
# workflow as for pull requests. For branches that match the following
# ignore patterns, the workflow has to be triggered manually.
branches-ignore:
- master
- stable-*
jobs:
src_checkers:
name: Source checkers
runs-on: ubuntu-latest
env:
NDCTL_ENABLE: n
steps:
- name: Clone the git repo
uses: actions/checkout@v3
- name: Install dependencies
run: sudo pip install flake8
- name: Check licenses
run: make -j$(nproc) check-license
- name: Check style
run: make -j$(nproc) cstyle
basic_build:
name: Basic build
runs-on: ubuntu-latest
env:
NDCTL_ENABLE: n
steps:
- name: Clone the git repo
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get -y install pandoc
- name: Build sources
run: make -j$(nproc) test
call-ubuntu:
needs: [src_checkers, basic_build]
uses: ./.github/workflows/ubuntu.yml
name: Ubuntu