Skip to content

Fixes https://github.com/p4lang/p4runtime/issues/439 (#440) #110

Fixes https://github.com/p4lang/p4runtime/issues/439 (#440)

Fixes https://github.com/p4lang/p4runtime/issues/439 (#440) #110

Workflow file for this run

name: Check generated code
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check-codegen:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Compile protobufs
run: |
docker build -t p4runtime-ci -f codegen/Dockerfile .
docker run -t p4runtime-ci /p4runtime/codegen/compile_protos.sh /tmp
- name: Check codegen
run: |
./CI/check_codegen.sh