Skip to content

Add generated rust code (#483) #254

Add generated rust code (#483)

Add generated rust code (#483) #254

Workflow file for this run

name: Check generated code
on:
push:
branches:
- main
- "*-dev"
pull_request:
branches:
- main
- "*-dev"
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