Skip to content

Commit

Permalink
ci: add veristat comparison on pull requests
Browse files Browse the repository at this point in the history
Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy committed Oct 18, 2023
1 parent ae4bedf commit 839e9ec
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/veristat-compare.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Run veristat compare
on:
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'

jobs:
veristat-compare:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
path: branch

- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
path: base
ref: ${{ github.base_ref }}

- name: Build BPF programs
run: |
make -C branch tetragon-bpf
make -C base tetragon-bpf
- name: Run veristat comparison
uses: mtardy/veristat-action@35c8885118c1b3046f6a5fdedf1cc5670e584cf9 # v1.0.0
with:
compare: true
baseline-programs: base/bpf/objs/*.o
comparison-programs: branch/bpf/objs/*.o

0 comments on commit 839e9ec

Please sign in to comment.