Skip to content

CI

CI #217

Workflow file for this run

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