summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 477ace078dedfa9b31dee0baf084edd1f7cf1c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
image: registry.gitlab.com/sequoia-pgp/build-docker-image:latest

test:
  script:
    - if [ -d target ]; then find target | wc --lines; du -sh target; fi
    - if [ -d cargo ]; then find cargo | wc --lines; du -sh cargo; fi
    - rustc --version
    - cargo --version
    - clang --version
    - SEQUOIA_CTEST_VALGRIND=/usr/bin/valgrind make test
    - du -sh target
    - du -sh cargo

cache:
  paths:
    - Cargo.lock
    - target/
    - cargo/

variables:
  CARGO_HOME: $CI_PROJECT_DIR/cargo
  CARGO_FLAGS: --color always
  CARGO_INCREMENTAL: 0