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

variables:
    CURRENT: $CI_COMMIT_REF_NAME
    DEFAULT: "stable/chromium"
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

Michele Alberti's avatar
Michele Alberti committed
  stage: tests
  script:
   - nix/frama-ci.sh build -A frama-clang.tests
  tags:
   - nix

tests-on-llvm-10:
  stage: tests
  script:
   - nix/frama-ci.sh build -A frama-clang.on-llvm10.tests
  tags:
   - nix
  when: manual

tests-on-llvm-11:
  stage: tests
  script:
   - nix/frama-ci.sh build -A frama-clang.on-llvm11.tests
  tags:
   - nix
  when: manual

tests-on-llvm-13:
  stage: tests
  script:
   - nix/frama-ci.sh build -A frama-clang.on-llvm13.tests