Continuing the implementation of initial entries support in p4c #4433
Workflow file for this run
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: "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 |