2019-04-20 02:31:49 +04:00
|
|
|
before_script:
|
|
|
|
- apt-get update -qq
|
2019-04-20 03:00:07 +04:00
|
|
|
- apt-get -y -qq install libhidapi-dev libcap-dev libev-dev bubblewrap
|
2019-04-20 02:31:49 +04:00
|
|
|
- wget https://github.com/ocaml/opam/releases/download/2.0.1/opam-2.0.1-x86_64-linux -O opam-2.0.1-x86_64-linux
|
|
|
|
- cp opam-2.0.1-x86_64-linux /usr/local/bin/opam
|
|
|
|
- chmod +x /usr/local/bin/opam
|
|
|
|
- export PATH="/usr/local/bin${PATH:+:}${PATH:-}"
|
|
|
|
- echo "$PATH"
|
|
|
|
- printf '' | opam init
|
2019-04-20 03:00:07 +04:00
|
|
|
- eval $(opam config env)
|
2019-04-20 13:09:07 +04:00
|
|
|
- printf '' | opam switch create toto ocaml-base-compiler.4.06.1
|
2019-04-20 02:31:49 +04:00
|
|
|
- eval $(opam config env)
|
2019-04-20 12:29:54 +04:00
|
|
|
- opam repository add new-tezos-opam-repository https://gitlab.com/gabriel.alfour/new-tezos-opam-repository.git
|
2019-04-20 02:31:49 +04:00
|
|
|
- eval $(opam config env)
|
2019-04-20 14:27:32 +04:00
|
|
|
# Show versions and current switch
|
2019-04-20 02:31:49 +04:00
|
|
|
- opam --version
|
|
|
|
- printf '' | ocaml
|
2019-04-20 14:27:32 +04:00
|
|
|
- opam switch
|
2019-04-20 02:31:49 +04:00
|
|
|
|
|
|
|
default-job:
|
|
|
|
script:
|
2019-04-20 14:31:56 +04:00
|
|
|
- (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)
|
2018-01-28 23:03:31 +04:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-04-20 02:31:49 +04:00
|
|
|
- src/ligo/bin/cli.ml
|
2017-03-09 17:43:59 +04:00
|
|
|
|
2019-04-20 14:03:06 +04:00
|
|
|
|
2019-04-20 02:31:49 +04:00
|
|
|
install-from-repo-job:
|
2018-07-05 14:08:55 +04:00
|
|
|
script:
|
2019-04-20 02:41:29 +04:00
|
|
|
- opam install -y ligo
|