Skip to content

use just and build release on ci (#5) #198

use just and build release on ci (#5)

use just and build release on ci (#5) #198

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
- 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