Skip to content

CI

CI #33

Workflow file for this run

name: CI
on:
schedule:
- cron: '0 2 * * *'
push:
branches: [ '*' ]
jobs:
build_and_benchmark:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: check
run: make check
- name: benchmark-iai
run: |
sudo apt-get update -y && sudo apt-get install -y valgrind
cd ip2country-bench && make bench-inside-docker
- name: benchmark
run: cargo bench