aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..1aeb1fa
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,16 @@
+image: alpine:3
+
+pages:
+ before_script:
+ - export PATH="$PATH:$HOME/.cargo/bin"
+ - apk add npm make curl build-base
+ - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --quiet -y
+ - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
+ script:
+ - make
+ artifacts:
+ paths:
+ - www/dist
+ only:
+ refs:
+ - master