This commit is contained in:
Georges Dupéron 2019-04-20 00:41:29 +02:00
parent 645a217da5
commit b4148f5c65

View File

@ -7,6 +7,7 @@ before_script:
- export PATH="/usr/local/bin${PATH:+:}${PATH:-}" - export PATH="/usr/local/bin${PATH:+:}${PATH:-}"
- echo "$PATH" - echo "$PATH"
- printf '' | opam init - printf '' | opam init
- printf '' | opam switch create $switch ocaml-base-compiler.4.06.1
- eval $(opam config env) - eval $(opam config env)
- opam repository add tezos-opam-repository https://gitlab.com/gabriel.alfour/tezos-opam-repository.git - opam repository add tezos-opam-repository https://gitlab.com/gabriel.alfour/tezos-opam-repository.git
- eval $(opam config env) - eval $(opam config env)
@ -15,12 +16,13 @@ before_script:
default-job: default-job:
script: script:
- opam install -y --working-dir . - opam install -y --working-dir src/lib_utils
- dune build && dune build -p ligo && dune build @ligo-test - opam install -y --working-dir src/ligo
- (cd src/ligo && dune build && dune build -p ligo && dune build @ligo-test)
artifacts: artifacts:
paths: paths:
- src/ligo/bin/cli.ml - src/ligo/bin/cli.ml
install-from-repo-job: install-from-repo-job:
script: script:
- opam install ligo - opam install -y ligo