Skip to content

Update submodules. (#65) #185

Update submodules. (#65)

Update submodules. (#65) #185

Workflow file for this run

name: "test-debian"
on:
push:
branches: [master]
pull_request:
branches: [master]
merge_group:
branches: [master]
# Cancel any preceding run on the pull request.
concurrency:
group: test-p4c-debian-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
# Build with GCC and test P4C on Ubuntu 22.04.
test-ubuntu22:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: test-${{ runner.os }}-ubuntu22
max-size: 1000M
- name: Install
run: |
./do_install.sh RUN_CI=ON
- name: Test with CMake
run: |
cd modules/p4c/build
ctest -j4 -R toz3-validate --output-on-failure --schedule-random