image: rustlang/rust:nightly

variables:
  REPO_NAME: gitlab.com/ufoot/ofilter

before_script:
  - rustc --version
  - cargo --version
  - echo $CI_BUILD_REF
  - echo $CI_PROJECT_DIR

stages:
  - build
  - test

build:
  stage: build
  script:
    - cargo build

release:
  stage: build
  script:
    - cargo build --release

test:
  stage: test
  script:
    - cargo test

bench:
  stage: test
  script:
    - cargo bench
