.gitlab-ci.yml 564 Bytes
Newer Older
Asone's avatar
Asone committed
1 2
image: buildpack-deps:stretch

3
stages:
Asone's avatar
Asone committed
4
  - build
5

Asone's avatar
Asone committed
6 7 8
build:
  stage: build
  script: cargo build -p tricoteuses_api_assemblee
9

Asone's avatar
Asone committed
10 11 12 13 14 15 16 17 18
before_script:
  - RUSTUP_HOME=/usr/local/rustup
  - CARGO_HOME=/usr/local/cargo
  - PATH=$HOME/.cargo/bin:$PATH
  - set -eux; url="https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init"; wget "$url";
  - chmod +x rustup-init; ./rustup-init -y --no-modify-path --default-toolchain nightly;
  - rustup --version
  - cargo --version
  - rustc --version
19
  - apt-get update && apt-get install -y graphicsmagick jq unzip