Skip to content

Continuing the implementation of initial entries support in p4c #4433

Continuing the implementation of initial entries support in p4c

Continuing the implementation of initial entries support in p4c #4433

name: "static-build-test-p4c"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Cancel any preceding run on the pull request.
concurrency:
group: static-build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
# Build a p4c release on Ubuntu 20.04.
build-linux:
strategy:
fail-fast: false
runs-on: ubuntu-20.04
env:
IMAGE_TYPE: test
CMAKE_UNITY_BUILD: ON
BUILD_STATIC_RELEASE: ON
ENABLE_TEST_TOOLS: ON
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: test-static-${{ runner.os }}
max-size: 1000M
- name: Build (Ubuntu 20.04)
run: |
sudo -E tools/ci-build.sh