Merge branch 'refactor/new-tezos-deps-cicliexe' into 'dev'
Refactor/new tezos deps cicliexe See merge request ligolang/ligo!70
This commit is contained in:
commit
7e44886252
@ -24,8 +24,10 @@ stages:
|
|||||||
- opam install -y odoc
|
- opam install -y odoc
|
||||||
# - vendors/opam-repository-tools/rewrite-local-opam-repository.sh
|
# - vendors/opam-repository-tools/rewrite-local-opam-repository.sh
|
||||||
# - opam repository add localrepo "file://$PWD/vendors/ligo-opam-repository-local-generated/"
|
# - opam repository add localrepo "file://$PWD/vendors/ligo-opam-repository-local-generated/"
|
||||||
- opam install -y --build-test --deps-only ./src/
|
- scripts/install_vendors_deps.sh
|
||||||
- dune build -p ligo
|
- scripts/build_ligo_local.sh
|
||||||
|
# - opam install -y --build-test --deps-only ./src/
|
||||||
|
# - dune build -p ligo
|
||||||
# TODO: also try instead from time to time:
|
# TODO: also try instead from time to time:
|
||||||
#- (cd ./src/; dune build -p ligo)
|
#- (cd ./src/; dune build -p ligo)
|
||||||
|
|
||||||
@ -111,14 +113,14 @@ remote-repo-job:
|
|||||||
|
|
||||||
# TODO: uncomment this
|
# TODO: uncomment this
|
||||||
|
|
||||||
# # Run a docker build without publishing to the registry
|
# Run a docker build without publishing to the registry
|
||||||
# build-current-docker-image:
|
build-current-docker-image:
|
||||||
# stage: test # TODO DODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODO restore to build_docker
|
stage: test # TODO DODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODODO restore to build_docker
|
||||||
# <<: *docker
|
<<: *docker
|
||||||
# <<: *docker_build
|
<<: *docker_build
|
||||||
# except:
|
except:
|
||||||
# - master
|
- master
|
||||||
# - dev
|
- dev
|
||||||
|
|
||||||
# When a MR/PR is merged to dev
|
# When a MR/PR is merged to dev
|
||||||
# take the previous build and publish it to Docker Hub
|
# take the previous build and publish it to Docker Hub
|
||||||
@ -131,6 +133,8 @@ build-and-publish-latest-docker-image:
|
|||||||
- docker push $LIGO_REGISTRY_IMAGE:next
|
- docker push $LIGO_REGISTRY_IMAGE:next
|
||||||
only:
|
only:
|
||||||
- dev
|
- dev
|
||||||
|
- refactor/new-tezos-deps-ci
|
||||||
|
- refactor/new-tezos-deps-cicliexe
|
||||||
|
|
||||||
|
|
||||||
# Pages are deployed from both master & dev, be careful not to override 'next'
|
# Pages are deployed from both master & dev, be careful not to override 'next'
|
||||||
@ -140,4 +144,5 @@ pages:
|
|||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- dev
|
- dev
|
||||||
- feature/website-fixes
|
- refactor/new-tezos-deps-ci
|
||||||
|
- refactor/new-tezos-deps-cicliexe
|
||||||
|
@ -30,7 +30,11 @@ RUN opam update
|
|||||||
|
|
||||||
# Install ligo
|
# Install ligo
|
||||||
RUN sh scripts/install_vendors_deps.sh
|
RUN sh scripts/install_vendors_deps.sh
|
||||||
RUN sh scripts/install_ligo_with_dependencies.sh
|
RUN sh -c pwd
|
||||||
|
RUN sh scripts/build_ligo_local.sh
|
||||||
|
RUN sh -c pwd
|
||||||
|
RUN ls -l
|
||||||
|
RUN sh -c 'ls -l /ligo/_build/default/src/bin/cli.exe || true'
|
||||||
|
|
||||||
# Use the ligo binary as a default command
|
# Use the ligo binary as a default command
|
||||||
ENTRYPOINT [ "/home/opam/.opam/4.06/bin/ligo" ]
|
ENTRYPOINT [ "/ligo/_build/default/src/bin/cli.exe" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user