forked from p4lang/p4runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 551 Bytes
/
spec.yml
File metadata and controls
29 lines (26 loc) · 551 Bytes
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
name: Build spec
on:
push:
branches:
- main
- '*-dev'
pull_request:
branches:
- main
- '*-dev'
jobs:
madoko-lint:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Run linter
run: |
./tools/madokolint.py docs/v1/P4Runtime-Spec.mdk
build-spec:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Build spec
run: |
docker run -v `pwd`/docs/v1:/usr/src/p4-spec p4lang/p4rt-madoko:latest make
ls docs/v1/build