-
Notifications
You must be signed in to change notification settings - Fork 510
47 lines (36 loc) · 907 Bytes
/
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
# Validate on default OSes.
name: Main
on:
workflow_dispatch:
pull_request:
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