Skip to content

wip

wip #550

Workflow file for this run

name: CI
# Run CI when a commit lands on the main branch and when a PR for main is
# opened.
on:
push:
branches:
- main
- "**" # TODO: remove once it's mergeable
pull_request:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
DEFAULT_DISTRO: fedora-41
permissions:
contents: read
packages: write
jobs:
benchmark:
strategy:
matrix:
host:
- name: "ubuntu-24.04"
arch: "x64"
- name: "4-core-ubuntu-arm"
arch: "arm64"
runs-on: ["${{ matrix.host.name }}"]
name: "Benchmark: ${{ matrix.host.arch }}"
container:
image: ghcr.io/facebook/bpfilter:fedora-41-${{ matrix.host.arch }}
options: --privileged
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Configure build
run: cmake -S $GITHUB_WORKSPACE -B $GITHUB_WORKSPACE/build -DWITH_BENCHMARK=on
- name: test
run: ls -lha $GITHUB_WORKSPACE; ls -lha $GITHUB_WORKSPACE/build; id
- name: Build
run: make -C $GITHUB_WORKSPACE/build -j `nproc` benchmark