Skip to content

CI: Test on several Bazel and Ubuntu versions. #365

CI: Test on several Bazel and Ubuntu versions.

CI: Test on several Bazel and Ubuntu versions. #365

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