From b4148f5c654c1ce518cf9ebddf8e48709f7b1efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Sat, 20 Apr 2019 00:41:29 +0200 Subject: [PATCH] CI 2 --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3fba54ea9..6a96f3ee0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ before_script: - export PATH="/usr/local/bin${PATH:+:}${PATH:-}" - echo "$PATH" - printf '' | opam init + - printf '' | opam switch create $switch ocaml-base-compiler.4.06.1 - eval $(opam config env) - opam repository add tezos-opam-repository https://gitlab.com/gabriel.alfour/tezos-opam-repository.git - eval $(opam config env) @@ -15,12 +16,13 @@ before_script: default-job: script: - - opam install -y --working-dir . - - dune build && dune build -p ligo && dune build @ligo-test + - opam install -y --working-dir src/lib_utils + - opam install -y --working-dir src/ligo + - (cd src/ligo && dune build && dune build -p ligo && dune build @ligo-test) artifacts: paths: - src/ligo/bin/cli.ml install-from-repo-job: script: - - opam install ligo + - opam install -y ligo