Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vlad Dumitru
speechcake
Commits
fbe4c361
Commit
fbe4c361
authored
Oct 25, 2021
by
Vlad Dumitru
Browse files
add `.gitlab-ci.yml`
parent
73d9dfc8
Pipeline
#5932
canceled with stage
in 1 minute and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
fbe4c361
stages
:
-
build
build-frontend
:
stage
:
build
image
:
node:latest
tags
:
-
docker
before_script
:
-
npm i -g elm sass
script
:
-
|
cd assets
elm make src/Main.elm --output=main.js
sass style.scss:style.css
after_script
:
-
|
mkdir dist/assets
cp main.js dist/assets
cp style.css dist/assets
cp index.html dist/assets
artifacts
:
paths
:
-
dist/
build-binaries
:
stage
:
build
image
:
ocamlpro/ocaml:4.12
tags
:
-
docker
dependencies
:
-
build-frontend
before_script
:
-
sudo apk add bash openssl-libs-static
script
:
-
|
opam switch create . --deps ocaml-system
opam exec -- dune build --profile=static
after_script
:
-
|
mkdir dist
cp _build/default/bin/*.exe dist
artifacts
:
paths
:
-
dist/
Write
Preview
Supports
Markdown
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