diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a5a744ab..bb790d8bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,22 +8,25 @@ before_script: - echo "$PATH" - printf '' | opam init - eval $(opam config env) - - printf '' | opam switch create $switch ocaml-base-compiler.4.06.1 + - printf '' | opam switch create toto 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 + - opam repository add new-tezos-opam-repository https://gitlab.com/gabriel.alfour/new-tezos-opam-repository.git - eval $(opam config env) + # Show versions and current switch - opam --version - printf '' | ocaml + - opam switch default-job: script: - - (cd src/lib_utils && opam install -y --working-dir .) - - (cd src/ligo && opam install -y --working-dir .) - - (cd src/ligo && dune build && dune build -p ligo && dune build @ligo-test) + - (cd src/lib_utils && ls -a && opam install -y --working-dir .) + - (cd src/ligo && ls -a && opam install -y --working-dir .) + - (cd src/ligo && ls -a && dune build && dune build -p ligo && dune build @ligo-test) artifacts: paths: - src/ligo/bin/cli.ml + install-from-repo-job: script: - opam install -y ligo diff --git a/src/ligo/ligo.opam b/src/ligo/ligo.opam index bf16e3e7f..b57c739bf 100644 --- a/src/ligo/ligo.opam +++ b/src/ligo/ligo.opam @@ -4,6 +4,7 @@ maintainer: "gabriel.alfour@gmail.com" authors: [ "Galfour" ] homepage: "https://gitlab.com/gabriel.alfour/tezos" bug-reports: "https://gitlab.com/gabriel.alfour/tezos/issues" +synopsis: "A higher-level language which compiles to Michelson" dev-repo: "git+https://gitlab.com/gabriel.alfour/tezos.git" license: "MIT" depends: [ @@ -12,6 +13,8 @@ depends: [ "menhir" "ppx_let" "tezos-utils" + "getopt" + "yojson" ] build: [ [ "dune" "build" "-p" name "-j" jobs ]