Skip to content
Snippets Groups Projects
.gitlab-ci.yml 479 B
Newer Older
Michele Alberti's avatar
Michele Alberti committed
stages:
 - git-update
 - tests

variables:
    CURRENT: $CI_COMMIT_REF_NAME
Allan Blanchard's avatar
Allan Blanchard committed
    DEFAULT: "master"
Michele Alberti's avatar
Michele Alberti committed
    OCAML: "4_08"
    FRAMA_CI_OPT: "--override frama-clang:$CI_COMMIT_REF_NAME,$CI_COMMIT_SHA"
Michele Alberti's avatar
Michele Alberti committed

#avoid a nix error https://github.com/NixOS/nix/issues/2087
git-update:
  stage: git-update
  script:
   - nix/frama-ci.sh instantiate --eval -A frama-clang.src.outPath
  tags:
   - nix

Tests:
  stage: tests
  script:
   - nix/frama-ci.sh build -A frama-clang.tests
  tags:
   - nix