Support for initial entries (#432) #143
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |