-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.02 KB
/
bench.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: bench
on:
push:
paths-ignore:
- '**/*.md'
branches:
- main
pull_request:
paths-ignore:
- '**/*.md'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.event.repository.name }}
CARGO_TERM_COLOR: always
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup dummy Git identity
run: git config --global user.name "dummy" && git config --global user.email "[email protected]"
- name: Install ripgrep
run: sudo apt-get install ripgrep
- name: Run benchmarks
run: make bench
linux-libgit2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install libgit2
run: sudo apt-get install -y libgit2-dev
- name: Install ripgrep
run: sudo apt-get install ripgrep
- name: Setup dummy Git identity
run: git config --global user.name "dummy" && git config --global user.email "[email protected]"
- name: Run benchmarks
run: make bench-git