-
Notifications
You must be signed in to change notification settings - Fork 6
32 lines (30 loc) · 993 Bytes
/
benchmark.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
name: Run benchmark tests in TeX Live
on: push
jobs:
run-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
version: [2023, 2024]
steps:
- uses: actions/checkout@v4
- name: Install TeX Live
uses: teatimeguest/setup-texlive-action@v3
with:
version: ${{matrix.version}}
package-file: .github/workflows/texlive-package.txt
packages: ppmcheckpdf
update-all-packages: true
- name: Run benchmark tests for codehigh package
run: |
cd benchmark
texlua benchmark.lua ${{matrix.version}}
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: Codehigh Benchmark in TeX Live ${{matrix.version}}
tool: "customSmallerIsBetter"
output-file-path: benchmarks/output-${{matrix.version}}.txt
benchmark-data-dir-path: benchmark/${{matrix.version}}
github-token: ${{secrets.GITHUB_TOKEN}}
auto-push: true