Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
David Declerck
www
Commits
9dbb3b12
Commit
9dbb3b12
authored
Sep 14, 2021
by
Louis Gesbert
Browse files
Fix simple static linking
parent
cbe611b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
No files found.
.gitlab-ci.yml
View file @
9dbb3b12
...
@@ -22,7 +22,7 @@ build:
...
@@ -22,7 +22,7 @@ build:
-
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
:
-
OCAMLPARAM="_,cclib=-static-pie" opam exec -- dune build --profile release @all
-
OCAMLPARAM="_,cclib=-static-pie
,cclib=-static
" 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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment