Commit cbe611b7 authored by Louis Gesbert's avatar Louis Gesbert
Browse files

Much simpler static linking

parent d866c79a
...@@ -18,10 +18,11 @@ build: ...@@ -18,10 +18,11 @@ build:
stage: build stage: build
image: registry.ocamlpro.com/ocamlpro/ocaml-docker-images:4.12 image: registry.ocamlpro.com/ocamlpro/ocaml-docker-images:4.12
before_script: before_script:
- sudo apk add openssl-libs-static
- opam switch create . ocaml-system --deps-only --locked - opam switch create . ocaml-system --deps-only --locked
- opam clean --switch-cleanup - opam clean --switch-cleanup
script: script:
- opam exec -- dune build --profile release @all - OCAMLPARAM="_,cclib=-static-pie" opam exec -- dune build --profile release @all
- opam exec -- dune runtest - opam exec -- dune runtest
- mv _build/default/src/server.exe . - mv _build/default/src/server.exe .
artifacts: artifacts:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment