aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 0cb348cef90d79729fcd5eb73463c07749711527 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
image: alpine:3

stages:
  - test

test:
  before_script:
    - export PATH="$PATH:$HOME/.cargo/bin"
    - apk add npm make curl build-base firefox
    - 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 test

pages:
  needs:
    - test
  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:
      - public
  only:
    refs:
      - master