hagrid-keyserver--hagrid/.gitlab-ci.yml

19 lines
586 B
YAML
Raw Normal View History

2018-11-12 13:21:04 +00:00
stages:
- build
build:binary:
stage: build
tags:
- docker
image: "rustlang/rust:nightly"
script:
- 'echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/testing-nettle.list'
- 'echo "Package: *\nPin: release a=testing\nPin-Priority: 150" > /etc/apt/preferences.d/limit_testing'
- apt update -y
- apt upgrade -y
- apt install -y libclang-dev build-essential pkg-config clang nettle-dev/testing
- cargo build --release
artifacts:
paths:
2018-11-25 13:08:51 +00:00
- target/release/hagrid